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.
Html and Css

Html and Css

Comments 3
1 min read
flex-wrap: balance ends the wrapped-flex orphan

flex-wrap: balance ends the wrapped-flex orphan

Comments
3 min read
CSS scroll-state() Queries: Styling Stuck, Snapped, and Scrollable

CSS scroll-state() Queries: Styling Stuck, Snapped, and Scrollable

1
Comments
3 min read
You Added `will-change` to Fix the Jank. You Made It Worse.

You Added `will-change` to Fix the Jank. You Made It Worse.

9
Comments
5 min read
Arabic letters stop joining the moment you split the word

Arabic letters stop joining the moment you split the word

1
Comments
7 min read
Email Signature Generator CSS icons

Email Signature Generator CSS icons

3
Comments 3
2 min read
how I make my templates easy to reskin (probably overthought this)

how I make my templates easy to reskin (probably overthought this)

Comments
2 min read
text-box-trim is the best CSS feature in years and nobody's using it yet

text-box-trim is the best CSS feature in years and nobody's using it yet

3
Comments 1
3 min read
The receipt CSS everyone copies, @page { size: 80mm auto }, does nothing in Chrome

The receipt CSS everyone copies, @page { size: 80mm auto }, does nothing in Chrome

1
Comments 2
5 min read
StyleX won CSS-in-JS because AI agents can read it

StyleX won CSS-in-JS because AI agents can read it

3
Comments
3 min read
Document Picture-in-Picture is a window, not a video

Document Picture-in-Picture is a window, not a video

Comments 1
4 min read
First Post — I’m a Video Guy Who Wanted My FAQ Page to Look Like a VCR

First Post — I’m a Video Guy Who Wanted My FAQ Page to Look Like a VCR

1
Comments 1
1 min read
I Tested html2canvas, html-to-image and modern-screenshot on the Same Card

I Tested html2canvas, html-to-image and modern-screenshot on the Same Card

5
Comments
10 min read
Building a CSS Gradient Generator in the Browser — Linear, Radial, and Conic

Building a CSS Gradient Generator in the Browser — Linear, Radial, and Conic

2
Comments
2 min read
The three-state dark mode toggle is the correct answer

The three-state dark mode toggle is the correct answer

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