Download the PHP package perfectpanel/extlib-crossjoin-css without Composer
On this page you can find all versions of the php package perfectpanel/extlib-crossjoin-css. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download perfectpanel/extlib-crossjoin-css
More information about perfectpanel/extlib-crossjoin-css
Files in perfectpanel/extlib-crossjoin-css
Package extlib-crossjoin-css
Short Description CSS reader and writer with full CSS3 support, already supporting huge parts of the current CSS4 spec. It supports media queries, comments, value optimization and more... It offers full Unicode support and can handle also large CSS sources. Requires PHP 5.4+.
License MIT
Informations about the package extlib-crossjoin-css
CSS reader and writer
Introduction
CSS reader and writer with full CSS3 support, already supporting huge parts of the current CSS4 spec. It supports media queries, comments, value optimization and more... It offers full Unicode support and can handle also large CSS sources.
Installation
This is a composer package. See the composer website for basic installation information.
Add the following line to your composer.json
file:
Requirements
- PHP 5.4+
- Multibyte String (mbstring) extension
- DOM extension (to extract CSS from HTML sources)
Features
- Full CSS3 support
- Full Unicode support
- Support for huge parts of CSS4
- Supports at-rules with an unlimited level of nesting
- Supports CSS comments
- Can handle large, compressed CSS files
- Integrated checks for invalid CSS
- ...
Basic usage
Reading CSS
You can read the CSS information from different sources.
Charset detection
The charset of the CSS file is detected automatically (depending on Byte-Order-Markers or a charset rule within the CSS) and defaults to "UTF-8". You can change the default value by setting the environment encoding.
Writing CSS
The writer can create CSS in different formats.
Error handling
While parsing the CSS source, the content is checked for invalid rules, selectors and declarations. Furthermore the reader and the writer do additional checks regarding the composition of the rules, e.g. invalid rule positions or unnecessary empty rules.
Advanced usage
TODO
To Do
- Additional checks for valid CSS rules, properties and values
- Additional optimizations of CSS properties and values
- Optimized auto-correction of invalid CSS, following the specs (example)
- Support for CSS Paged Media Module Level 3 (page type selectors, margin at-rules)
- Support for "supports" in import at-rule (not final)
All versions of extlib-crossjoin-css with dependencies
ext-dom Version *
ext-mbstring Version *