Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 878B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # keyframe-declaration-no-important
  2. Disallow `!important` within keyframe declarations.
  3. <!-- prettier-ignore -->
  4. ```css
  5. @keyframes foo {
  6. from { opacity: 0 }
  7. to { opacity: 1 !important }
  8. } /* ↑ */
  9. /** ↑
  10. * This !important */
  11. ```
  12. Using `!important` within keyframes declarations is [completely ignored in some browsers](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes#!important_in_a_keyframe).
  13. ## Options
  14. ### `true`
  15. The following patterns is considered a violation:
  16. <!-- prettier-ignore -->
  17. ```css
  18. @keyframes foo {
  19. from {
  20. opacity: 0;
  21. }
  22. to {
  23. opacity: 1 !important;
  24. }
  25. }
  26. ```
  27. The following patterns are _not_ considered violations:
  28. <!-- prettier-ignore -->
  29. ```css
  30. @keyframes foo {
  31. from {
  32. opacity: 0;
  33. }
  34. to {
  35. opacity: 1;
  36. }
  37. }
  38. ```
  39. <!-- prettier-ignore -->
  40. ```css
  41. a { color: pink !important; }
  42. ```