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.

41 lines
672 B

4 years ago
  1. longDescription = """
  2. Removes at-rules which have the same identifier as another; for example two
  3. instances of `@keyframes one`. As the browser will only count the *last* of
  4. these declarations, all others can safely be removed.
  5. """
  6. inputExample = """
  7. @keyframes one {
  8. 0% {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. @keyframes one {
  16. 0% {
  17. transform: rotate(0deg);
  18. }
  19. to {
  20. transform: rotate(359deg);
  21. }
  22. }
  23. .box {
  24. animation-name: one;
  25. }
  26. """
  27. outputExample = """
  28. @keyframes one {
  29. 0% {
  30. transform: rotate(0deg);
  31. }
  32. to {
  33. transform: rotate(359deg);
  34. }
  35. }
  36. .box {
  37. animation-name: one;
  38. }
  39. """