p {
animation-duration: 25s;
animation-name: slidein;
}
@keyframes slidein {
from {
margin-left: 100%;
width: 300%;
}
75% {
font-size: 300%;
margin-left: 25%;
width: 150%;
}
to {
margin-left: 0%;
width: 100%;
}
}
@keyframes animation-name {
0% {
/* CSS properties */
}
100% {
/* CSS properties */
}
}
/* @keyframes duration | easing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
animation: 3s ease-in 1s 2 reverse both paused slidein;
// Web Animation API Keyframes options
var options = {
iterations: Infinity,
iterationStart: 0,
delay: 0,
endDelay: 0,
direction: 'alternate',
duration: 700,
fill: 'forwards',
easing: 'ease-out',
}
element.animate(keyframes, options);
Code Example |
---|
Css :: |
Css :: css background overlay |
Css :: select two stuffes css |
Css :: star required css |
:: stop anchor tag scroll to top of page |
Css :: |
:: |
Css :: |
:: |
:: |
:: Shadow On left & right side |
Css :: set visibility css |
Css :: tile format css |
:: |
:: |
:: |
Css :: |
Css :: |
:: how to remove underline from hyperlink css |
:: |
:: flex box writing sideways text top to bottom |
Css :: |
:: |
:: html css bring to page top |
Css :: bounced in css animation |
Css :: |
Css :: materializecss |
:: |
Css :: |
Css :: |