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.
The 150 KB Google Ads Myth (And Building a 0-Upload HTML5 Ad ZIP Validator in Pure Browser JS)

The 150 KB Google Ads Myth (And Building a 0-Upload HTML5 Ad ZIP Validator in Pure Browser JS)

Comments
9 min read
Is CSS-in-JS Dead? The More Interesting Question Is When CSS Gets Generated

Is CSS-in-JS Dead? The More Interesting Question Is When CSS Gets Generated

Comments
10 min read
A product demo you can click through, with no JavaScript

A product demo you can click through, with no JavaScript

Comments
5 min read
A Quiet Hero Video Still Needs a Motion Preference

A Quiet Hero Video Still Needs a Motion Preference

Comments
2 min read
What I learned making a wipe sign in and sign up

What I learned making a wipe sign in and sign up

Comments
1 min read
Migrating to Tailwind CSS v4 @theme & OKLCH Without Breaking WCAG Contrast Ratios

Migrating to Tailwind CSS v4 @theme & OKLCH Without Breaking WCAG Contrast Ratios

1
Comments
2 min read
Generating fluid CSS typography clamps from static Figma variables

Generating fluid CSS typography clamps from static Figma variables

1
Comments
4 min read
What Game Accessibility Menus Teach Law Firm Site Builders

What Game Accessibility Menus Teach Law Firm Site Builders

Comments
4 min read
Mauve color codes: HEX, RGB, HSL, OKLCH and CSS variables

Mauve color codes: HEX, RGB, HSL, OKLCH and CSS variables

Comments
3 min read
The Modern Web Guidance skill from Google is a must try!

The Modern Web Guidance skill from Google is a must try!

14
Comments 1
6 min read
Building a Drift-Free, Zero-Dependency Cue Timer in a Single HTML File

Building a Drift-Free, Zero-Dependency Cue Timer in a Single HTML File

Comments 1
2 min read
26/11 - Intermediate CSS Concepts - CSS Units (5)

26/11 - Intermediate CSS Concepts - CSS Units (5)

Comments
1 min read
Scroll into the picture: a depth hero with CSS perspective, an easing camera and a cursor light

Scroll into the picture: a depth hero with CSS perspective, an easing camera and a cursor light

Comments
4 min read
Why Can You Click the Invisible Part of an SVG Icon?

Why Can You Click the Invisible Part of an SVG Icon?

Comments
3 min read
How I built a corner scan pay with plain CSS and a little JS

How I built a corner scan pay with plain CSS and a little JS

Comments
1 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.