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.
I replaced my homepage feature list with a 3-step guide: copy link, paste, download

I replaced my homepage feature list with a 3-step guide: copy link, paste, download

Comments
3 min read
How I made a phone animation go from ~35 fps to ~140 fps: draw once, then only move it

How I made a phone animation go from ~35 fps to ~140 fps: draw once, then only move it

Comments
2 min read
Juice 1.0 Is Here — Building UI Without Fighting Your Markup

Juice 1.0 Is Here — Building UI Without Fighting Your Markup

3
Comments
5 min read
Make the agent leave existing CSS Module class names alone unless the PR is a rename

Make the agent leave existing CSS Module class names alone unless the PR is a rename

2
Comments
2 min read
A CSS Shadow Can Reveal Opaque Pixels in an Icon Asset

A CSS Shadow Can Reveal Opaque Pixels in an Icon Asset

Comments
2 min read
60 FPS Motion Engineering & Core Web Vitals: Designing Editorial Interfaces That Rank in Google Discover

60 FPS Motion Engineering & Core Web Vitals: Designing Editorial Interfaces That Rank in Google Discover

Comments
7 min read
Emotion for Beginners: CSS-in-JS That Feels Like Writing CSS

Emotion for Beginners: CSS-in-JS That Feels Like Writing CSS

1
Comments
2 min read
48 inline SVGs on our homepage, five of them are the same mascot, and the whole lot costs 1.6 KB after brotli

48 inline SVGs on our homepage, five of them are the same mascot, and the whole lot costs 1.6 KB after brotli

1
Comments
5 min read
Every size on our big screen is one number times a CSS variable, and the variable is 1cqmin

Every size on our big screen is one number times a CSS variable, and the variable is 1cqmin

1
Comments
6 min read
Keep CSS scroll snap targets visible below a fixed header

Keep CSS scroll snap targets visible below a fixed header

Comments 1
3 min read
touch-action Is an Intersection: Un-trapping Page Scroll on 35 Mobile Games

touch-action Is an Intersection: Un-trapping Page Scroll on 35 Mobile Games

Comments
4 min read
18/11 - Intermediate CSS Concepts - Default Styles (day 1)

18/11 - Intermediate CSS Concepts - Default Styles (day 1)

Comments
1 min read
Same CSS Rule, Different Font Weight: Auditing Type Drift Across Templates

Same CSS Rule, Different Font Weight: Auditing Type Drift Across Templates

Comments
5 min read
Pin agent color usage to semantic tokens — no raw hex in JSX

Pin agent color usage to semantic tokens — no raw hex in JSX

1
Comments
2 min read
Your Bug Report Says "iPhone". The Screen Is 448 by 364.

Your Bug Report Says "iPhone". The Screen Is 448 by 364.

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