TCotton / postcss-mq-keyframes

This plugin will move any keyframe animations from inside media queries to the bottom of the CSS file
MIT License
4 stars 1 forks source link

Clean up example #1

Closed ai closed 9 years ago

ai commented 9 years ago

Your input/output example contains too many irrelevant code, it is difficult to find diff.

I think your example can be with 4-5 lines of code.

TCotton commented 9 years ago

done

ai commented 9 years ago

It is still too long. Why not:

@media only screen and (min-width: 415px) {

    .pace {
        animation: pace-anim 5s;
    }

    @keyframes pace-anim {
        100% {
            opacity: 0;
        }
    }

}
TCotton commented 9 years ago

done