Tag: css

How to use CSS contrast-color() for auto-contrast

Dev

Learn how contrast-color() automatically picks accessible text colors using native CSS, without JavaScript.

Jude Miracle
Jul 14, 2026 ⋅ 8 min read

How to create awesome staggered animations in CSS

Dev

Learn how to build smooth staggered animations in CSS using modern features like sibling-index(), complete with practical examples, fallbacks, and accessibility tips.

Rob O'Leary
Jul 9, 2026 ⋅ 8 min read

Native CSS stagger animations with sibling-index()

Dev

Learn how sibling-index() enables clean, JavaScript-free stagger animations using native CSS.

Jude Miracle
Apr 28, 2026 ⋅ 9 min read

What if you could lay out UI without CSS? Meet Pretext

Dev

CSS wasn’t built for dynamic UIs. Pretext flips the model by measuring text before rendering, enabling accurate layouts, faster performance, and better control in React apps.

Chizaram Ken
Apr 21, 2026 ⋅ 9 min read
The lost art of CSS art

Why CSS art disappeared from frontend culture

Dev

CSS art once made frontend feel playful and accessible. Here’s why it faded as the web became more practical and prestige-driven.

Oscar Jite-Orimiono
Apr 7, 2026 ⋅ 6 min read

CSS @container scroll-state: Replace JS scroll listeners now

Dev

CSS @container scroll-state lets you build sticky headers, snapping carousels, and scroll indicators without JavaScript. Here’s how to replace scroll listeners with clean, declarative state queries.

Jude Miracle
Feb 19, 2026 ⋅ 4 min read
how to animate svg with css

How to animate SVG with CSS: Tutorial with examples

Dev

Animate SVGs with pure CSS: hamburger toggles, spinners, line-draw effects, and new scroll-driven animations, plus tooling tips and fallbacks.

Hope Armstrong
Jan 23, 2026 ⋅ 16 min read
a dev’s guide to Tailwind CSS in 2026

A dev’s guide to Tailwind CSS in 2026

Dev

Tailwind CSS is more popular than ever. This guide breaks down v4’s biggest changes, real-world usage, migration paths, and where it fits in the AI future.

Oscar Jite-Orimiono
Jan 23, 2026 ⋅ 12 min read
jemima abu css in 2026 replacing javascript

CSS in 2026: The new features reshaping frontend development

Dev

Jemima Abu, a senior product engineer and award-winning developer educator, shows how she replaced 150+ lines of JavaScript with just a few new CSS features.

Jemima Abu
Jan 21, 2026 ⋅ 6 min read

Container queries in 2026: Powerful, but not a silver bullet

Dev

Container queries let components respond to their own layout context instead of the viewport. This article explores how they work and where they fit alongside media queries.

Sebastian Weber
Dec 26, 2025 ⋅ 12 min read

Stop using JavaScript to solve CSS problems

Dev

Stop defaulting to JavaScript. Modern CSS handles virtualization, responsive layouts, and scroll animations better than ever – with far less code.

Chizaram Ken
Dec 4, 2025 ⋅ 7 min read
css corner shape property

How to create fancy corners using CSS corner-shape

Dev

Learn about CSS’s corner-shape property and how to use it, as well as the more advanced side of border-radius and why it’s crucial to using corner-shape effectively.

Daniel Schwarz
Nov 26, 2025 ⋅ 7 min read