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.
5 heuristic bugs that made my design-token tool call a bright cream page "dark and moody"

5 heuristic bugs that made my design-token tool call a bright cream page "dark and moody"

Comments
4 min read
BEM Methodology in CSS: predictable naming for clean styles

BEM Methodology in CSS: predictable naming for clean styles

Comments
2 min read
Stop Naming CSS Variables After Colors

Stop Naming CSS Variables After Colors

3
Comments 1
7 min read
How I'm Preventing Most of the Bugs Before They Ship — Bear UI 1.2.4

How I'm Preventing Most of the Bugs Before They Ship — Bear UI 1.2.4

Comments
4 min read
Most of the web is touch. We still don't save handedness.

Most of the web is touch. We still don't save handedness.

2
Comments
5 min read
Container Queries: The CSS Feature I Wish I Had Years Ago

Container Queries: The CSS Feature I Wish I Had Years Ago

Comments
2 min read
You're using Floating UI to position your tooltip. The browser does it natively now.

You're using Floating UI to position your tooltip. The browser does it natively now.

12
Comments 1
5 min read
Widget Storm is live on DevHunt — native web widgets, one script tag, no iframe

Widget Storm is live on DevHunt — native web widgets, one script tag, no iframe

Comments 2
2 min read
An Itty Bitty Aster Plotter problem...

An Itty Bitty Aster Plotter problem...

Comments
1 min read
📦 Container Queries Changed Everything for Me

📦 Container Queries Changed Everything for Me

1
Comments
3 min read
Stop flattening your typography tokens into static CSS classes

Stop flattening your typography tokens into static CSS classes

1
Comments
4 min read
How to Add Living Photo Effects to Your Web Portfolio

How to Add Living Photo Effects to Your Web Portfolio

Comments
4 min read
Your `margin-left` doesn't exist in Arabic. CSS logical properties fix that.

Your `margin-left` doesn't exist in Arabic. CSS logical properties fix that.

12
Comments
4 min read
10 Things I Learned in My First Week of Learning HTML and CSS

10 Things I Learned in My First Week of Learning HTML and CSS

Comments
2 min read
How to Audit Your CSS for Unused Rules and Reduce Load Time by 60%

How to Audit Your CSS for Unused Rules and Reduce Load Time by 60%

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