shel/critical-css

Last activity 03 Apr 2025 10 2 2188
composer require shel/critical-css

Allows inlining and optimising styles for components in Neos CMS

0.5.0

Version
0.5.0
Type
neos-plugin
Release Date
Nov 20, 2019 19:05
Source
git
Distribution
zip
Requires
  • neos/neos: ^4.3 || ^5.0
GPL-3.0-or-later 0ef8e824c21dcd8a3a649a75eadb8d59717e6a58

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 content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 27 package(s).