shel/critical-css
composer require shel/critical-css
Allows inlining and optimising styles for components in Neos CMS
0.2.0
Readme excerpt
Adding and combining inline styles for critical CSS in Neos CMS
This package provides several helpers to allow adding inline styles to Fusion components in Neos CMS and combining them locally or into the head of a html document. The styles are automatically scoped by default and can be defined dynamically like any other Fusion object.
CSS classes are dynamically generated based on the hash of the defined styles.
This allows you to keep styles together with a component in one file and also be able to override them.
A good use case for this is to define inline styles for your critical CSS that should be loaded instantly when
the site is shown and defer loading …
Read more
The same vendor provides 27 package(s).