.foo {
width: 180px; height: 80px; background: red;
animation: rotate 3s ease-in-out infinite;
}
.foo:hover {
background: green;
animation-play-state: paused;
}
@keyframes rotate {
from {transform: rotate(0)}
to {transform: rotate(360deg)}
}
jsfiddle.net/5npyrtufЭто не заело, это хаус! В моем противоречивом прошлом - молодежная эстрада.https://youtu.be/Nh4szGYlaDo
div:after {
content: attr(data-zzz);
}
Autoplay with sound is allowed if:
- User has interacted with the domain (click, tap, etc.).
- On desktop, the user's Media Engagement Index threshold has been crossed, meaning the user has previously play video with sound.
- On mobile, the user has added the site to his or her home screen.
myList.scrollTo(0, myList.scrollHeight)
jsfiddle ... все выводило криво и косоэто не важно. у вас же вопрос не о красоте и ровности, а о скролле. Да, бывает сложно выдернуть на jsfiddle кусок из проекта, но можно же набросать минимальный пример.
width: 100%
- потому он растягивается на всю ширинуmargin-bottom: 8%;
- потому меняется расстояние между инпутами..wrapper {
background: url(https://vgy.me/bHgGYd.png);
background-size: cover;
padding: 40% 0 20%;
text-align: right;
}
h1 {
display: inline;
background: tomato;
font-size: 300%;
}
https://jsfiddle.net/rt2L2z1z/