UNPKG

postcss-critical-split

Version:

A PostCSS plugin that takes existing CSS files and splits out the annotated critical styles into a seperate file.

29 lines (23 loc) 297 B
/* critical:start:header */ body { background-color: black; } p { color: red; } /* critical:end */ a { text-decoration: none; } table { width: 100%; height: 200%; } * { font-family: Arial, "Arial Black", sans-serif; } span { /* critical:nav */ display: inline-block; color: #333; }