postcss-critical-split
Version:
A PostCSS plugin that takes existing CSS files and splits out the annotated critical styles into a seperate file.
19 lines (16 loc) • 308 B
CSS
@font-face {
font-family: "myFancyFont";
font-weight: normal;
font-style: normal;
src: url('myfile.woff') format('woff');
}
@font-face {
font-family: "myFancyFont2";
font-weight: normal;
font-style: normal;
src: url('myfile2.woff') format('woff2');
}
span {
display: inline-block;
color: #333;
}