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 counted the fonts on 632 receipts. The most popular one is a barcode.

I counted the fonts on 632 receipts. The most popular one is a barcode.

Comments
6 min read
One brand color, three platforms: what actually changes

One brand color, three platforms: what actually changes

Comments
6 min read
The Font Is Loaded and the Text Is Still Wrong: Three Questions That Find the Bug

The Font Is Loaded and the Text Is Still Wrong: Three Questions That Find the Bug

Comments
5 min read
CSS gap decorations: lines between grid items

CSS gap decorations: lines between grid items

Comments
4 min read
Five of our colour tokens were never registered as colours, so eight classes using them match nothing in the stylesheet

Five of our colour tokens were never registered as colours, so eight classes using them match nothing in the stylesheet

Comments
4 min read
A rent receipt generator in one HTML file: print CSS, localStorage, and the bug I shipped

A rent receipt generator in one HTML file: print CSS, localStorage, and the bug I shipped

Comments
3 min read
Orthotect: Deterministic Interface Engineering & Runtime Gates for AI Coding Agents

Orthotect: Deterministic Interface Engineering & Runtime Gates for AI Coding Agents

Comments
1 min read
Building a Self-Hosted Prompt Library UI with TailwindCSS and Radix Dialog

Building a Self-Hosted Prompt Library UI with TailwindCSS and Radix Dialog

Comments
4 min read
Why a Search Box Shrinks to 2px When You Add container-type

Why a Search Box Shrinks to 2px When You Add container-type

Comments
5 min read
Scroll anchoring is Baseline: content stops jumping

Scroll anchoring is Baseline: content stops jumping

Comments
5 min read
React: carga rápida sin saltos ni confusión

React: carga rápida sin saltos ni confusión

Comments
4 min read
Our comparison tables cut off the competitor's column on a 320px phone, and the rounded corner is why you cannot scroll to it

Our comparison tables cut off the competitor's column on a 320px phone, and the rounded corner is why you cannot scroll to it

Comments
5 min read
A printable prop firm rule checklist in vanilla JS, with no build step

A printable prop firm rule checklist in vanilla JS, with no build step

Comments
4 min read
How to Add a Border in CSS Without Changing Element Size

How to Add a Border in CSS Without Changing Element Size

Comments
2 min read
Our machine-readable source of truth for colour holds 40 hex values and shares exactly one with the app: white

Our machine-readable source of truth for colour holds 40 hex values and shares exactly one with the app: white

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