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.
Why I Built a Zero-Backend, 100% Client-Side Invoice Generator (Astro + Tailwind v4)

Why I Built a Zero-Backend, 100% Client-Side Invoice Generator (Astro + Tailwind v4)

Comments
5 min read
Fifteen chart colours and no charts, and a theme class that repeats :root line for line

Fifteen chart colours and no charts, and a theme class that repeats :root line for line

Comments
5 min read
Why container queries stop matching when you switch container-type dynamically?

Why container queries stop matching when you switch container-type dynamically?

Comments
3 min read
WCAG Color Contrast Explained: AA vs AAA, Large Text, and the Gray That Fails

WCAG Color Contrast Explained: AA vs AAA, Large Text, and the Gray That Fails

Comments
4 min read
How Unicode Text Generators Create Aesthetic Fonts

How Unicode Text Generators Create Aesthetic Fonts

Comments
5 min read
Why HTML, CSS, and JavaScript Aren’t Dead Yet (Even with AI Writing Code)

Why HTML, CSS, and JavaScript Aren’t Dead Yet (Even with AI Writing Code)

Comments
3 min read
minimalist-ui bans gradients in section 2, then offers them in sections 6, 7 and 8

minimalist-ui bans gradients in section 2, then offers them in sections 6, 7 and 8

Comments
5 min read
Why Does My CSS Look Nothing Like I Expected? A Beginner’s Guide to Debugging CSS

Why Does My CSS Look Nothing Like I Expected? A Beginner’s Guide to Debugging CSS

Comments
7 min read
Check your landing page at 320px wide before you ship

Check your landing page at 320px wide before you ship

Comments
2 min read
A Wide HTML Table Broke the Mobile Page. I Fixed the Generator.

A Wide HTML Table Broke the Mobile Page. I Fixed the Generator.

Comments
5 min read
A passing contrast ratio is the start of a button check

A passing contrast ratio is the start of a button check

1
Comments
2 min read
Why Legacy Wingdings Fonts Break on Mobile & How to Map Them to Unicode

Why Legacy Wingdings Fonts Break on Mobile & How to Map Them to Unicode

2
Comments
2 min read
The Browser Closed Your Paragraph Early, and Your CSS Stopped Applying

The Browser Closed Your Paragraph Early, and Your CSS Stopped Applying

1
Comments
4 min read
CSS Container Style Queries: Let the Parent Set the Theme

CSS Container Style Queries: Let the Parent Set the Theme

1
Comments
4 min read
Our stylesheet was quietly restyling our users' apps. It took us weeks to notice.

Our stylesheet was quietly restyling our users' apps. It took us weeks to notice.

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