Download the PHP package plakart/contao-css-utilities without Composer
On this page you can find all versions of the php package plakart/contao-css-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download plakart/contao-css-utilities
More information about plakart/contao-css-utilities
Files in plakart/contao-css-utilities
Download plakart/contao-css-utilities
More information about plakart/contao-css-utilities
Files in plakart/contao-css-utilities
Vendor plakart
Package contao-css-utilities
Short Description Tailwind-style spacing utility classes assignable to Contao content elements, articles and form fields
License LGPL-3.0-or-later
Package contao-css-utilities
Short Description Tailwind-style spacing utility classes assignable to Contao content elements, articles and form fields
License LGPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package contao-css-utilities
plakart/contao-css-utilities
Tailwind-style spacing utility classes for Contao 5. Editors assign margins and paddings to content elements, articles, and form fields via four select fields — no CSS knowledge required.
How it works
- 52 fixed classes:
mt-0…12,mb-0…12,pt-0…12,pb-0…12 - Values are fluid (
clamp()) and defined as CSS custom properties--pcu-space-1…--pcu-space-12, so a theme can override the scale without renaming classes - On save, the selected classes are merged into the element's CSS class
(
cssID/class); manually added classes are preserved utilities.cssis loaded automatically on every page; each page layout has a "Disable utility CSS" checkbox to opt out
Installation
Then run the Contao install tool / migrations to add the new database columns.
The four utility fields are excluded by default — grant them to non-admin user
groups in the Contao backend permissions before the selects appear.
Overriding the scale
Define the custom properties in your theme after utilities.css is loaded:
Development
All versions of contao-css-utilities with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
contao/core-bundle Version ^5.0
doctrine/dbal Version ^3.6 || ^4.0
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
contao/core-bundle Version ^5.0
doctrine/dbal Version ^3.6 || ^4.0
symfony/config Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
The package plakart/contao-css-utilities contains the following files
Loading the files please wait ...