csslint-0.6

GNOME CSS2 parsing and manipulation toolkit

Install

All systems
curl cmd.cat/csslint-0.6.sh
Debian Debian
apt-get install libcroco-tools
Ubuntu
apt-get install libcroco-tools
Alpine
apk add libcroco
Arch Arch Linux
pacman -S libcroco
image/svg+xml Kali Linux
apt-get install libcroco-tools
CentOS
yum install libcroco
Fedora
dnf install libcroco
Windows (WSL2)
sudo apt-get update sudo apt-get install libcroco-tools
OS X
brew install libcroco
Raspbian
apt-get install libcroco-tools
Docker
docker run cmd.cat/csslint-0.6 csslint-0.6 powered by Commando

libcroco

GNOME CSS2 parsing and manipulation toolkit

libcroco-tools

Cascading Style Sheet (CSS) parsing and manipulation toolkit - utils

Services provided by Libcroco * A parser module that provides o A SAC like API. SAC stands for Simple API for CSS. SAC is an event driven API which resembles SAX in the xml world. o A CSSOM like API. CSSOM stands for Cascading Style Sheet Object Model. The libcroco parser implements the CSS Level 2 specification, the CSS forward compatibility rules and the CSS cascading rules. * A CSS2 selection engine Given an xml element node (that obviously comes from an xml document) and a stylesheet cascade, the Libcroco selection engine can evaluate the css selectors of the cascade and return the style properties associated to the xml element node. Note that the xml manipulation toolkit used by the libcroco selection engine at the moment is libxml2. This package contains csslint, a standalone utility based on libcroco that can be used for testing CSS correctness.