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.
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
Understanding Aspect Ratios in CSS and Canvas: Formulas, Responsive Rules, and Image Cropping

Understanding Aspect Ratios in CSS and Canvas: Formulas, Responsive Rules, and Image Cropping

Comments
4 min read
Why Your 300ms Cubic-Bezier Feels Dead (And What Springs Do Differently)

Why Your 300ms Cubic-Bezier Feels Dead (And What Springs Do Differently)

Comments 1
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
RTL in practice: CSS logical properties, bidi text, icons, numerals and a testing checklist

RTL in practice: CSS logical properties, bidi text, icons, numerals and a testing checklist

Comments
10 min read
Let the designer's spec be the test: a bounded UI change request for game UI

Let the designer's spec be the test: a bounded UI change request for game UI

Comments
5 min read
How we took CLS to 0.000 on a hand-built static site (no framework, no CDN)

How we took CLS to 0.000 on a hand-built static site (no framework, no CDN)

Comments
5 min read
A loading skeleton is a second implementation of your layout, and mine was lying about four things

A loading skeleton is a second implementation of your layout, and mine was lying about four things

Comments
6 min read
A 3% zoom hid a one-pixel rounding gap for 372 cards, then cut the first letters off the 373rd

A 3% zoom hid a one-pixel rounding gap for 372 cards, then cut the first letters off the 373rd

Comments
6 min read
How to Improve Blogger Website Performance with Practical HTML and CSS Optimizations

How to Improve Blogger Website Performance with Practical HTML and CSS Optimizations

Comments
5 min read
From BEM to BE.M — A CSS Naming Convention Built for Component Libraries

From BEM to BE.M — A CSS Naming Convention Built for Component Libraries

Comments
9 min read
Our header is 48 pixels tall, every page offsets by 56, and the root layout renders no header at all

Our header is 48 pixels tall, every page offsets by 56, and the root layout renders no header at all

Comments
6 min read
40 font-face blocks, 10 files, and the word bold appears nowhere: three typefaces reaching a Next.js site and an Expo app

40 font-face blocks, 10 files, and the word bold appears nowhere: three typefaces reaching a Next.js site and an Expo app

Comments
5 min read
When Your Settings Modal Looks Perfect But Traps Focus Behind Itself

When Your Settings Modal Looks Perfect But Traps Focus Behind Itself

1
Comments 2
4 min read
"4200subscribers": the content said "black" and the renderer believed it

"4200subscribers": the content said "black" and the renderer believed it

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