Syntax - Tasty Web Development Treats cover image

What's New in CSS? Variables, Scoping, New Selectors and Color Functions

Syntax - Tasty Web Development Treats

00:00

How to Style Blog Posts Using Images

Right now there's no way to do that. What you would have to do is with JavaScript, you had to select all the posts and then add a class to the parent selector. And in this case, we're going to be able to just say, like dot post colon has image. But again, this one's not implemented in any browser yet, but I definitely look forward to its arrival.

Play episode from 41:55
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app