EN, Change language
Englishالعربية
BH-129

CSS is valid against W3C standards.

The requirement

CSS is valid against W3C standards.

Why it matters to users

Invalid CSS rules are ignored differently by each browser, so a page looks fine on one device and broken on another citizen's phone. A button can vanish or text overlap without the site team noticing.

How to fix it

Fix the errors listed in this report in your own stylesheets: syntax errors, unknown properties and old browser hacks such as *zoom and filter: progid. Then run the W3C CSS validator on them to check the values too. Then scan again.

How we measure it

The site's own stylesheets as served, checked on our server for syntax errors and unknown properties (values are not checked; files are never sent to a third party). Partly measured: we measure what the public pages show of this rule; the rest needs a review.

Its official source

Related rules

Valid CSS · Bahrain BH-129 | xfix