Last active
October 18, 2022 03:47
-
-
Save shopifypartners/bf4bd0a4c77d7539a5fa2e9862019aec to your computer and use it in GitHub Desktop.
Subtle animation- full markdown for scrolling text section https://www.shopify.com/partners/blog/text-animation-css
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
<div class="animated-text"> | |
<div id="animated-container"> | |
{{ section.settings.start-text }} | |
<div id="scroll"> | |
<div><div>{{ section.settings.text1 }}</div></div> | |
<div><div>{{ section.settings.text2 }}</div></div> | |
<div><div>{{ section.settings.text3 }}</div></div> | |
</div> | |
{{ section.settings.end-text }} | |
</div> | |
</div> | |
{% schema %} | |
{ | |
"name": "Scrolling Text", | |
"settings": [ | |
{ | |
"id": "start-text", | |
"type": "text", | |
"label": "Start", | |
"default": "Start" | |
}, | |
{ | |
"id": "text1", | |
"type": "text", | |
"label": "Scrolling Text 1", | |
"default": "Learning" | |
}, | |
{ | |
"id": "text2", | |
"type": "text", | |
"label": "Scrolling Text 2", | |
"default": "Teaching" | |
}, | |
{ | |
"id": "text3", | |
"type": "text", | |
"label": "Scrolling Text 3", | |
"default": "Coding" | |
}, | |
{ | |
"id": "end-text", | |
"type": "text", | |
"label": "End", | |
"default": "Today" | |
} | |
] | |
} | |
{% endschema %} | |
{% stylesheet %} | |
{% endstylesheet %} | |
{% javascript %} | |
{% endjavascript %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment