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) 286 B
/* critical:start */ 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 */ display: inline-block; color: #333; }