CSS-Trickz! also ready to join Digital Ocean

You probably want CSS-Tricks

A Few Ways That Cloudways Makes Running This Site a Little Easier

Written by: Geoff Graham

It’s probably no surprise to you that CSS-Tricks is (proudly) hosted on Cloudways, DigitalOcean’s managed hosting arm. Given both CSS-Tricks […]

Continue reading "A Few Ways That Cloudways Makes Running This Site a Little Easier" at CSS-Tricks

Quick Hit #34

Written by: Geoff Graham

Great little reminder from Kevin Powell that the :empty pseudo-class considers comments as empty content, meaning a div with nothing […]

Continue reading "Quick Hit #34" at CSS-Tricks

How to Wait for the sibling-count() and sibling-index() Functions

Written by: Juan Diego Rodríguez

Today, I want to look into one of those cases of impatient and how the community has waited for that feature, to be specific, two upcoming functions: sibling-count() and sibling-index().

Continue reading "How to Wait for the sibling-count() and sibling-index() Functions" at CSS-Tricks

Quick Hit #33

Written by: Juan Diego Rodríguez

The Apple team just dropped an interesting idea for masonry layout that I think will make a lot of folks […]

Continue reading "Quick Hit #33" at CSS-Tricks

Tight Mode: Why Browsers Produce Different Performance Results

Written by: Geoff Graham

I wrote a post for Smashing Magazine that was published today about this thing that Chrome and Safari have called […]

Continue reading "Tight Mode: Why Browsers Produce Different Performance Results" at CSS-Tricks

The Importance of Investing in Soft Skills in the Age of AI

Written by: Andy Bell

I am still an AI skeptic. The biggest risk I foresee is that if your sole responsibility is to write code, your job is at risk. It’s not time to panic, but I do see a lot of value in evolving your soft skills.

Continue reading "The Importance of Investing in Soft Skills in the Age of AI" at CSS-Tricks

Thank You (2024 Edition)

Written by: Geoff Graham

I’m more thankful this time around because, last year, I didn’t even get to write this post. But now that I’m back, writing this feels so, so, so good. There’s a lot more gusto going into my writing when I say: thank you so very much! Let’s tie a bow on this year and round up what happened around here in 2024.

Continue reading "Thank You (2024 Edition)" at CSS-Tricks

A CSS Wishlist for 2025

Written by: Juan Diego Rodríguez

2024 has been one of the greatest years for CSS: cross-document view transitions, scroll-driven animations, anchor positioning, animate to height: […]

Continue reading "A CSS Wishlist for 2025" at CSS-Tricks

The Little Triangle in the Tooltip

Written by: Juan Diego Rodríguez

Today, I want to focus on what I’ll call the little triangle in the tooltip. It receives minimal attention but it amazes you by how many ways there are to make them. Let’s start with the simplest and make our way up to the not-so-simple.

Continue reading "The Little Triangle in the Tooltip" at CSS-Tricks

How to Create Multi-Step Forms With Vanilla JavaScript and CSS

Written by: Fatuma Abdullaho

When was the last time you developed a multi-step form? There’s so much to think about and so many moving pieces that need to be managed. But doing it by hand can be a good exercise and a great way to polish the basics. Fatuma Abdullaho walks you through her first multi-step form using vanilla HTML, CSS, and JavaScript.

Continue reading "How to Create Multi-Step Forms With Vanilla JavaScript and CSS" at CSS-Tricks

What ELSE is on your CSS wishlist?

Written by: Geoff Graham

What else do we want or need CSS to do? Chris kept a CSS wishlist, going back as far as 2013 and following back up on it in 2019. We all have things we’d like to see CSS do and we always will no matter how many sparkly new features we get. We’ll round things up and put a list together — so let us know!

Continue reading "What ELSE is on your CSS wishlist?" at CSS-Tricks

Quick Hit #32

Written by: Geoff Graham

One day I’d love to publish a note in one of the CSS specs that’s like this one I found […]

Continue reading "Quick Hit #32" at CSS-Tricks