duncanlock.net

Sometimes I want to have a just a little bit of CSS that’s unique, just for one particular page or post. I don’t want a whole stylesheet, or add this to my site-wide theme, just for one post - I wanted a way to add it in the post itself.

This is how I did it:

Read More

You can use the new CSS :is selector to write complex CSS selectors in a much more compact way