Created
March 2, 2020 09:12
-
-
Save windate3411/013e13e50369e48714f7427f4f5d608d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="scroll-image"> | |
<img :src="source" alt="a placeholder scroll image" /> | |
</div> | |
</template> | |
<script> | |
export default { | |
props: ['source'] | |
} | |
</script> | |
<style> | |
.scroll-image { | |
margin: 0 auto 400px; | |
max-width: 600px; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment