Harry Roberts: Quasi-qualified CSS selectors

Part way down Harry’s post, I found this gem.

/*html*/.product-page{
[styles]
}

I write the element in a comment so that it reads properly (a html element with a class of .product-page) but without altering the specificity at all.

Genius!


Availability

I’m fully booked until January 2021.

Talk soon

For work enquiries email

Or call us on +44 (0)1745 851848

Studio

Stuff & Nonsense Ltd.
Eversleigh, Lon Capel,
Gwaenysgor,
Flintshire, North Wales,
LL18 6EJ, UK