Copied content!

Animation

OPTIONS

Name

Duration

SELECT TO FILTER

Timing Function

SELECT TO FILTER

Delay

SELECT TO FILTER

Direction

SELECT TO FILTER

Fill mode

SELECT TO FILTER

PREVIEW

CODE

Copy this to the parent element.

animation: devtoolspro 2s ease 0s normal forwards;

Copy this after the above selector.

@keyframes

devtoolspro

{

0%,

50%,

100% {

opacity: 1;

}


25%,

75% {

opacity: 0;

}

}

Utilization

The Keyframes are used in CSS animations to define the styles an element will have at various times. The @keyframes rule controls the intermediate steps in a CSS animation sequence by defining styles for keyframes (or waypoints) along the animation sequence. This gives more control over the intermediate steps of the animation sequence than transitions. You can define keyframes using the @keyframes rule. Once you have set up the synchronization of the animation, you need to define the appearance of the animation. This is done by establishing two or more keyframes using the @keyframes rule.

You can test for this property with our tool.