Linting HTML using CSS

Avatar of Chris Coyier
Chris Coyier on

DigitalOcean joining forces with CSS-Tricks! Special welcome offer: get $100 of free credit.

Ire Aderinokun with some CSS selectors designed to catch problematic HTML elements, such as those with inline styles or missing/wrong attributes.

I tossed up a repo so I could make a full page demo showing off all those selectors at work. Any red you see is a problem of sorts.

Direct Link →