2025-10-24
2202
#css
Daniel Schwarz
208563
102
Oct 24, 2025 ⋅ 7 min read

The different ways to use CSS :has(), with examples

Daniel Schwarz I write about and advocate for better UX, accessibility, front-end code, and product management for industry leaders such as Adobe, Wix, CSS-Tricks, InVision, UXPin, Creative Bloq, Net Magazine, Web Designer Magazine, and so many more. Ex-design blog editor at SitePoint and Toptal.

Recent posts:

13 Best Tailwind CSS Component Libraries

The 13 best Tailwind CSS component libraries

Tailwind CSS component libraries provide pre-built components to streamline the process of developing aesthetic, user-friendly interfaces.

Ivaylo Gerchev
Oct 2, 2026 ⋅ 8 min read

Vibe coding gone wrong: 5 of the biggest vibe coding failures

Vibe coding makes building apps faster, but speed without engineering can create serious failures. Here are five real-world examples and practical checks to help you ship AI-generated code safely.

Chizaram Ken
Sep 28, 2026 ⋅ 7 min read
React ViewTransition vs. Motion: Comparing animation approaches

React ViewTransition vs. Motion: Comparing animation approaches

Compare React ViewTransition and Motion across four animation patterns. The native build saved ~38.6kB of gzipped JS, but required 179 more lines of CSS.

Chizaram Ken
Sep 26, 2026 ⋅ 7 min read

Cline + Ollama: A fully local AI coding agent

Learn how to run Cline locally with Ollama to build a secure, private AI coding agent that keeps your proprietary code off cloud servers.

Jude Miracle
Sep 21, 2026 ⋅ 10 min read
View all posts

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now