Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 637 Bytes

File metadata and controls

30 lines (24 loc) · 637 Bytes

bem-newbie/animation-explicit-timing-function

Disallow missing timing function when animation or animation-name is used:

.page { animation: rotation 5s infinite linear; }
/**                                     ↑
 * An example of explicit timing function */

The following patterns are considered problems:

.page { animation: rotation 5s infinite; }
.page { animation-name: rotation; }

The following patterns are not considered problems:

.page { animation: rotation 5s infinite linear; }
.page {
    animation-name: rotation;
    animation-timing-function: linear;
}