postcss-critical-split
Version:
A PostCSS plugin that takes existing CSS files and splits out the annotated critical styles into a seperate file.
37 lines (31 loc) • 432 B
CSS
strong {
font-weight: bold;
}
p{
color: #333;
}
@media screen and (min-width: 300px) {
strong {
color: #f00;
}
}
@media screen and (min-width: 500px) {
p {
float: left;
}
}
@media screen and (min-width: 300px) {
li {
display: block;
float: left;
text-align: center;
padding: 0;
margin: 0;
position: relative;
border: 1px solid red;
}
}
table {
background-color: green;
border-top: 1px solid blue;
}