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.
Byg et før-og-efter billedværktøj med HTML, CSS og JavaScript

Byg et før-og-efter billedværktøj med HTML, CSS og JavaScript

Comments
7 min read
Free stand-ins for Calibri, Segoe UI and Helvetica, measured, and the CSS that stops the jump

Free stand-ins for Calibri, Segoe UI and Helvetica, measured, and the CSS that stops the jump

Comments
5 min read
I Built a Sleek Pomodoro Timer with Pure Vanilla JS & Web Audio API (No External Audio Files!)

I Built a Sleek Pomodoro Timer with Pure Vanilla JS & Web Audio API (No External Audio Files!)

Comments
1 min read
How I keep HEX, RGB, HSL, and WCAG contrast straight (and the free toolkit I built for it)

How I keep HEX, RGB, HSL, and WCAG contrast straight (and the free toolkit I built for it)

Comments
3 min read
12/11

12/11

Comments
1 min read
CSS Units Cheat Sheet: px, em, rem, vh, and When to Use Each

CSS Units Cheat Sheet: px, em, rem, vh, and When to Use Each

Comments
9 min read
Haiku com kit de UX: regras abertas e um cĂłdigo mĂ­nimo fazem um modelo pequeno acertar como um maior?

Haiku com kit de UX: regras abertas e um cĂłdigo mĂ­nimo fazem um modelo pequeno acertar como um maior?

Comments
16 min read
Font Loading Is a Layout Decision: Measured Shift for swap, optional, fallback and block

Font Loading Is a Layout Decision: Measured Shift for swap, optional, fallback and block

1
Comments 1
7 min read
SVGO Deleted the ID My CSS Needed (and the One-Line Fix)

SVGO Deleted the ID My CSS Needed (and the One-Line Fix)

Comments
2 min read
Haiku with a UX kit: can open rules and minimal code make a small model as accurate as a larger one?

Haiku with a UX kit: can open rules and minimal code make a small model as accurate as a larger one?

Comments
15 min read
Stop Cursor and Claude Code From Inventing Colors (A Token + Rules Setup That Sticks)

Stop Cursor and Claude Code From Inventing Colors (A Token + Rules Setup That Sticks)

Comments
6 min read
Cache-Busting Static Assets with ?v=: So Visitors Actually Get the Fix

Cache-Busting Static Assets with ?v=: So Visitors Actually Get the Fix

Comments
4 min read
Use @layer + low-specificity selectors so site overrides don’t turn into selector wars

Use @layer + low-specificity selectors so site overrides don’t turn into selector wars

Comments
5 min read
Tailwind CSS RTL in Next.js: logical utilities, the rtl: variant and what must never flip

Tailwind CSS RTL in Next.js: logical utilities, the rtl: variant and what must never flip

Comments
6 min read
Our pages render identically at 1280px and at 4K, and our prose runs 78 characters to the line

Our pages render identically at 1280px and at 4K, and our prose runs 78 characters to the line

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