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.

42 lines
672 B

4 years ago
longDescription = """
Removes at-rules which have the same identifier as another; for example two
instances of `@keyframes one`. As the browser will only count the *last* of
these declarations, all others can safely be removed.
"""
inputExample = """
@keyframes one {
0% {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes one {
0% {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.box {
animation-name: one;
}
"""
outputExample = """
@keyframes one {
0% {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.box {
animation-name: one;
}
"""