Created
June 29, 2021 03:34
-
-
Save splex7/1761d248c40ec6883c8ea5916c576aaa to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/liziyek
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.container { | |
left: 20px; | |
outline: 1px aqua solid; | |
display: inline-block; | |
overflow: hidden; | |
} | |
.flow { | |
outline: 1px yellow solid; | |
animation: sign 10s linear infinite; | |
display:inline-block; | |
} | |
@keyframes sign { | |
0% { | |
transform: translateX(0); | |
} | |
20% { | |
transform: translateX(0); | |
} | |
60% { | |
transform: translateX(-100%); | |
} | |
60.000001% { | |
transform: translateX(100%); | |
} | |
100% { | |
transform: translateX(0); | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="flow"> | |
edbera edbera edbera | |
</div> | |
</div> | |
<div class="container"> | |
<div class="flow"> | |
short path | |
</div> | |
</div> | |
<script id="jsbin-source-css" type="text/css">.container { | |
left: 20px; | |
outline: 1px aqua solid; | |
display: inline-block; | |
overflow: hidden; | |
} | |
.flow { | |
outline: 1px yellow solid; | |
animation: sign 10s linear infinite; | |
display:inline-block; | |
} | |
@keyframes sign { | |
0% { | |
transform: translateX(0); | |
} | |
20% { | |
transform: translateX(0); | |
} | |
60% { | |
transform: translateX(-100%); | |
} | |
60.000001% { | |
transform: translateX(100%); | |
} | |
100% { | |
transform: translateX(0); | |
} | |
}</script> | |
</body> | |
</html> |
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
.container { | |
left: 20px; | |
outline: 1px aqua solid; | |
display: inline-block; | |
overflow: hidden; | |
} | |
.flow { | |
outline: 1px yellow solid; | |
animation: sign 10s linear infinite; | |
display:inline-block; | |
} | |
@keyframes sign { | |
0% { | |
transform: translateX(0); | |
} | |
20% { | |
transform: translateX(0); | |
} | |
60% { | |
transform: translateX(-100%); | |
} | |
60.000001% { | |
transform: translateX(100%); | |
} | |
100% { | |
transform: translateX(0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Marqee animation old style