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.
CSS Flexbox: The Only Guide You Need

CSS Flexbox: The Only Guide You Need

Comments
3 min read
Dark Mode in 5 Minutes with salt-theme-gen (No Flash, Zero Extra Dependencies)

Dark Mode in 5 Minutes with salt-theme-gen (No Flash, Zero Extra Dependencies)

1
Comments
5 min read
Why are we still shipping CSS parser code to the browser?

Why are we still shipping CSS parser code to the browser?

4
Comments 3
1 min read
Secrets of the object-fit property for perfect images in a grid

Secrets of the object-fit property for perfect images in a grid

1
Comments
3 min read
CSS Container Queries: how to forget about Media Queries in 2026

CSS Container Queries: how to forget about Media Queries in 2026

1
Comments
3 min read
24 Modern CSS Tricks Every Frontend Developer Should Know

24 Modern CSS Tricks Every Frontend Developer Should Know

7
Comments 1
8 min read
Strict Typing of CSS Variables with the @property Rule

Strict Typing of CSS Variables with the @property Rule

Comments
3 min read
🚨 CSS Specificity — The Hidden Reason Your UI Breaks

🚨 CSS Specificity — The Hidden Reason Your UI Breaks

4
Comments 2
4 min read
The CSS Media Query That Changed How I Approach Responsive Design

The CSS Media Query That Changed How I Approach Responsive Design

6
Comments 1
2 min read
HTML and CSS

HTML and CSS

2
Comments 1
2 min read
Advanced CSS Selectors You Might Have Forgotten

Advanced CSS Selectors You Might Have Forgotten

2
Comments
4 min read
Building a static repository for print-perfect PDFs

Building a static repository for print-perfect PDFs

2
Comments 1
1 min read
Zoho Creator Custom Styling: The Ultimate CSS Injection Hack

Zoho Creator Custom Styling: The Ultimate CSS Injection Hack

Comments
9 min read
CSS Houdini: Looking Under the Hood of Browser Rendering

CSS Houdini: Looking Under the Hood of Browser Rendering

1
Comments
4 min read
State.js Tutorial: Creating Reusable UI Components with Pure CSS Reactivity

State.js Tutorial: Creating Reusable UI Components with Pure CSS Reactivity

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