DEV Community

CSS

Cascading Style Sheets (CSS) is a simple language for adding style (e.g., fonts, colors, spacing) to HTML documents. It describes how HTML elements should be displayed.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
TailwindCSS v4 Migration Guide: What Changed and How to Upgrade

TailwindCSS v4 Migration Guide: What Changed and How to Upgrade

1
Comments
3 min read
Why ShadowDOM Matters More Than You Think

Why ShadowDOM Matters More Than You Think

1
Comments 2
5 min read
CSS Masonry Layout in 2 Minutes (No JS Needed)

CSS Masonry Layout in 2 Minutes (No JS Needed)

1
Comments 1
6 min read
butterfly css v4 is here! stop coding start drawing!

butterfly css v4 is here! stop coding start drawing!

15
Comments 1
1 min read
Animating SVG Icons with CSS and Framer Motion

Animating SVG Icons with CSS and Framer Motion

1
Comments
5 min read
How We Added Custom Branding to Shared Video Pages

How We Added Custom Branding to Shared Video Pages

2
Comments
5 min read
Why BEM Nesting Breaks in Tailwind v4

Why BEM Nesting Breaks in Tailwind v4

3
Comments
2 min read
CSS-Only Slide-In Sticky Navbar — No JavaScript Needed

CSS-Only Slide-In Sticky Navbar — No JavaScript Needed

1
Comments
1 min read
CSS Selectors 101: Targeting Elements with Precision

CSS Selectors 101: Targeting Elements with Precision

Comments
4 min read
Complex Animations and Interaction Patterns in CSS

Complex Animations and Interaction Patterns in CSS

Comments
3 min read
Building Fast Websites for Small Businesses: Lessons from Swedish Construction Industry

Building Fast Websites for Small Businesses: Lessons from Swedish Construction Industry

Comments
3 min read
From Box Shadows to Dashed Borders: How I Hit 63 Characters on CSSBattle's Daily Target 🎯

From Box Shadows to Dashed Borders: How I Hit 63 Characters on CSSBattle's Daily Target 🎯

1
Comments
3 min read
I Crashed a Mobile Browser With One CSS Property. Here's What I Learned About Rendering.

I Crashed a Mobile Browser With One CSS Property. Here's What I Learned About Rendering.

2
Comments
15 min read
Fix: mobile 100vh jumps (URL bar + keyboard) using VisualViewport

Fix: mobile 100vh jumps (URL bar + keyboard) using VisualViewport

Comments
2 min read
CSS Units Explained: PX vs REM vs EM vs VW (With Free Converter Tools)

CSS Units Explained: PX vs REM vs EM vs VW (With Free Converter Tools)

Comments
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.