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.
Breaking the DOM to Stop Doomscrolling: Glitch Shaders, Scroll Physics, and Chrome MV3 Network Throttling

Breaking the DOM to Stop Doomscrolling: Glitch Shaders, Scroll Physics, and Chrome MV3 Network Throttling

1
Comments
10 min read
I set the Chinese line 3px smaller than the English. It still rendered larger.

I set the Chinese line 3px smaller than the English. It still rendered larger.

Comments 1
8 min read
10/11

10/11

Comments
1 min read
CSS

CSS

7
Comments 1
3 min read
I was paying for tools like this, so I built a free one

I was paying for tools like this, so I built a free one

Comments
2 min read
font-display: swap Fixes Invisible Text. It Also Shifts Your Layout.

font-display: swap Fixes Invisible Text. It Also Shifts Your Layout.

8
Comments 1
6 min read
How I test CSS animations with Playwright and getAnimations()

How I test CSS animations with Playwright and getAnimations()

Comments
5 min read
I wrote 187 tests for a Chrome extension. The three bugs that mattered were invisible to all of them.

I wrote 187 tests for a Chrome extension. The three bugs that mattered were invisible to all of them.

Comments
6 min read
Dropdowns That Position Themselves: CSS Anchor Positioning Is Baseline Now

Dropdowns That Position Themselves: CSS Anchor Positioning Is Baseline Now

Comments
4 min read
How to Build a CSS Skeleton Loader with HTML & CSS

How to Build a CSS Skeleton Loader with HTML & CSS

Comments
8 min read
A CSS bug that wasn't CSS

A CSS bug that wasn't CSS

Comments
1 min read
Four phases, a hand-counted barcode, and the one frame reduced motion has to stop on

Four phases, a hand-counted barcode, and the one frame reduced motion has to stop on

Comments
6 min read
How to Extract Tailwind CSS Configs and Figma Tokens from Any Site in 1 Click

How to Extract Tailwind CSS Configs and Figma Tokens from Any Site in 1 Click

Comments
2 min read
CSS Modules Explained: Say Goodbye to Global CSS Collisions in React

CSS Modules Explained: Say Goodbye to Global CSS Collisions in React

Comments
3 min read
CSS Flexbox Cheatsheet: Every Property Explained with Examples

CSS Flexbox Cheatsheet: Every Property Explained with Examples

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