Nová ukázka
Reset
Načíst z URL
Uložit a získat odkaz
Vztahuje se k…
Nevyplňujte
Napiště „nejsem robot“
▶
Přepnout zobrazení
Výsledek
<meta http-equiv="refresh" content="5"> <div class="odpocet"> <span timeaction="class:skryj" begin="1">5</span> <span timeaction="class:skryj" begin="2">4</span> <span timeaction="class:skryj" begin="3">3</span> <span timeaction="class:skryj" begin="4">2</span> <span timeaction="class:skryj" begin="5">1</span> <span>0</span> </div>
HTML
Autoformát
Standardní režim
Mobilní zobrazení
@keyframes odpocitat { 0% {top: 0;} 100% {top: -250px;} } @-webkit-keyframes odpocitat { 0% {top: 0;} 100% {top: -250px;} } .odpocet span { display: block; background: blue; width: 50px; height: 50px; line-height: 50px; text-align: center; color: white; position: relative; animation: odpocitat 5s steps(5); -webkit-animation: odpocitat 5s steps(5); behavior: url(#default#time2); } .odpocet {height: 50px; overflow: hidden} .odpocet .skryj { display: none }
CSS
Autoformát
CSS reset
Až na konci
J
ava
S
cript
Autoformát
jQuery
Umístění JS
window.onload
</head>
</body>