CSS Inline
Categories
Component ID
2911831
Component name
CSS Inline
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Inline (a.k.a critical) CSS is advisable for initial page rendering to eliminate the flash of unstyled content (FOUC) and is something recommended by various page speed tools. https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery
With that in mind this module allows for a CSS library to be defined as "inline" in your libraries.yml file.
Repos also available here: https://github.com/chriskinch/css_inline
Usage:
css/styles.css: {inline:true}