Created
March 2, 2020 10:15
-
-
Save doochik/dd25146c35f21f29cc3af2fe129006cd to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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
.outer { | |
width: 100px; | |
overflow: hidden; | |
border: 1px solid #000; | |
} | |
.inner { | |
white-space: nowrap; | |
transform: translate(0, 0); | |
transition: transform 0.3s; | |
animation: ad-marquee-wrapper 5s linear infinite; | |
} | |
@keyframes ad-marquee-wrapper { | |
0% { | |
transform: translate(0, 0); | |
} | |
90% { | |
transform: translate(-50%, 0); | |
} | |
100% { | |
transform: translate(-50%, 0); | |
} | |
} |
This file contains hidden or 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="outer"> | |
<div class="inner"> | |
a1234567890 b1234567890 c1234567890 da1234567890 a1234567890 b1234567890 c1234567890 da1234567890 | |
</div> | |
</div> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment