Marko Denic

@markodenic.com

Software Engineer. Public mentor. Making the web faster. Blogging at https://markodenic.com.

CSS tip: Stop duplicating your CSS for Dark Mode. The new `light-dark()` function lets you define both values in a single line. It eliminates the need for redundant media queries and keeps your variables in one place.

Bild

if you want to make money online, you should start with this as a base: social media, blog, newsletter. Everything else builds on this. All 3. not 1 or 2. All 3.

The thing I like the most about the rise of AI is that we can automate basically all of the boring, repetitive tasks in no time. The worst thing, though, is that we'll have to accept slop in virtually every aspect of our lives. What's your take?

It is amazing how much CSS has evolved. You can replace tens, if not hundreds, of lines of code with a single CSS property. I'm sharing exactly one tip like that in today's newsletter. It'll go live in a few hours.