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.
Stop Letting One Widget Reflow the Whole Page. `contain` Scopes It.

Stop Letting One Widget Reflow the Whole Page. `contain` Scopes It.

9
Comments
6 min read
Modern CSS in 2024: Nesting, :has(), Container Queries, color-mix(), and More

Modern CSS in 2024: Nesting, :has(), Container Queries, color-mix(), and More

1
Comments
3 min read
SVG in Firefox: Animation, Filters, Sprites, and DevTools Debugging

SVG in Firefox: Animation, Filters, Sprites, and DevTools Debugging

Comments 1
4 min read
WovenUI.com - Performance Numbers. We Tried to Break Our Own SCSS Compiler

WovenUI.com - Performance Numbers. We Tried to Break Our Own SCSS Compiler

Comments
4 min read
CSS LED ART CHALLENGE!

CSS LED ART CHALLENGE!

1
Comments 1
3 min read
CSS * Selector – Selects All Elements

CSS * Selector – Selects All Elements

1
Comments
2 min read
I Built My Portfolio Like a Piece of Rack Gear - Zero Dependencies, All Vanilla JS

I Built My Portfolio Like a Piece of Rack Gear - Zero Dependencies, All Vanilla JS

Comments 1
6 min read
Why My Fonts Caused Layout Shift: Field Notes on next/font, size-adjust, and Arabic Fallback Metrics

Why My Fonts Caused Layout Shift: Field Notes on next/font, size-adjust, and Arabic Fallback Metrics

Comments 1
8 min read
RevaCSS 2.0: start with HTML, set your defaults once

RevaCSS 2.0: start with HTML, set your defaults once

2
Comments
3 min read
Container Queries Are Here and They're a Game Changer

Container Queries Are Here and They're a Game Changer

Comments 1
2 min read
CSS only game: Point and click puzzle cube

CSS only game: Point and click puzzle cube

5
Comments 2
19 min read
Apple shipped a foldable iPhone. Safari still can't tell you it folded.

Apple shipped a foldable iPhone. Safari still can't tell you it folded.

1
Comments
6 min read
Your tokens are correct and dark mode still broke the screen

Your tokens are correct and dark mode still broke the screen

Comments 1
7 min read
Samsung Internet's dark mode turned my orange buttons dark red. My fix is only partial.

Samsung Internet's dark mode turned my orange buttons dark red. My fix is only partial.

Comments
4 min read
Mastering Responsive Layouts: Fluid Grids, Dynamic Media, and CSS Container Queries

Mastering Responsive Layouts: Fluid Grids, Dynamic Media, and CSS Container Queries

1
Comments
11 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.