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 Deleted My Scroll-Lock Library's Ugly Hack. `scrollbar-gutter` Replaces It.

I Deleted My Scroll-Lock Library's Ugly Hack. `scrollbar-gutter` Replaces It.

Comments
6 min read
Building a third-party embed that survives any host page

Building a third-party embed that survives any host page

Comments
6 min read
React: errores de email que sí ayudan

React: errores de email que sí ayudan

Comments
5 min read
pointer-events: none doesn't disable an element. It hands the press to whatever is underneath.

pointer-events: none doesn't disable an element. It hands the press to whatever is underneath.

3
Comments
6 min read
Small design systems: tokens first, components second

Small design systems: tokens first, components second

Comments
1 min read
Stop Hardcoding Color Variants. Relative Color Syntax Does It.

Stop Hardcoding Color Variants. Relative Color Syntax Does It.

5
Comments
7 min read
Every page on our site but one is styled by a class called legal, and three of them are legal pages

Every page on our site but one is styled by a class called legal, and three of them are legal pages

Comments
5 min read
13.3 per cent of our HTML is class attributes, 324 distinct strings doing it, and the proof tailwind-merge works is a class that is missing

13.3 per cent of our HTML is class attributes, 324 distinct strings doing it, and the proof tailwind-merge works is a class that is missing

Comments
5 min read
Our two self-hosted fonts hold 222 and 230 codepoints, and the arrow on our homepage is in neither

Our two self-hosted fonts hold 222 and 230 codepoints, and the arrow on our homepage is in neither

Comments
6 min read
Ảnh mà Google không thấy: CSS background, lazy load sai cách và cách audit thẻ img

Ảnh mà Google không thấy: CSS background, lazy load sai cách và cách audit thẻ img

Comments
4 min read
React Wheel Picker: iOS Wheels for Times and Dates

React Wheel Picker: iOS Wheels for Times and Dates

Comments
11 min read
Curved text in SVG without turning your words into shapes

Curved text in SVG without turning your words into shapes

Comments
3 min read
How to Create an SVG Icon Sprite for Your Website

How to Create an SVG Icon Sprite for Your Website

Comments
10 min read
How to Learn CSS Flexbox and Grid (and Stop Guessing Which One to Use)

How to Learn CSS Flexbox and Grid (and Stop Guessing Which One to Use)

Comments
4 min read
When to use overflow: clip with overflow-clip-margin (and when not to)

When to use overflow: clip with overflow-clip-margin (and when not to)

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