Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago | |
index.js | 2 years ago |
Disallow !important
within keyframe declarations.
@keyframes foo {
from { opacity: 0 }
to { opacity: 1 !important }
} /* ↑ */
/** ↑
* This !important */
Using !important
within keyframes declarations is completely ignored in some browsers.
true
The following patterns is considered a violation:
@keyframes foo {
from {
opacity: 0;
}
to {
opacity: 1 !important;
}
}
The following patterns are not considered violations:
@keyframes foo {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
a { color: pink !important; }