PostCSS plugin that gives media query rules precedence by moving them to the end of the file
npm install postcss-mq-lastcss
@media (max-width: 34em) {
.half.stackable {
width: 100%
}
}
.half.stackable {
width: 50%
}
`
Output:
`css
.half.stackable {
width: 50%
}
@media (max-width: 34em) {
.half.stackable {
width: 100%
}
}
`
Usage
`js
postcss([ require('postcss-mq-last') ])
``