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.
light-dark() fails silently, so decide what the failure looks like

light-dark() fails silently, so decide what the failure looks like

Comments
4 min read
Build a 20KB Single-File Offline PDF Invoice Generator (Pure HTML + CSS @media print + localStorage)

Build a 20KB Single-File Offline PDF Invoice Generator (Pure HTML + CSS @media print + localStorage)

Comments 2
3 min read
7 signs an AI built your landing page (none of them are the words)

7 signs an AI built your landing page (none of them are the words)

Comments
3 min read
10 Cool CodePen Demos (October 2026)

10 Cool CodePen Demos (October 2026)

6
Comments
3 min read
The visual habits that make a vibe-coded landing page look generated

The visual habits that make a vibe-coded landing page look generated

Comments
2 min read
Unicode Number Fonts in JS & CSS: Surrogate Pairs (U+1D7CE), UTF-8 Byte Caps, and Screen-Reader A11y

Unicode Number Fonts in JS & CSS: Surrogate Pairs (U+1D7CE), UTF-8 Byte Caps, and Screen-Reader A11y

Comments
3 min read
Recreating Vintage Cinema Ticket Effects in Pure CSS

Recreating Vintage Cinema Ticket Effects in Pure CSS

2
Comments 1
10 min read
Building 3 Distinct Small Business Websites with Bootstrap 5.3.3 (No Build Step, No jQuery)

Building 3 Distinct Small Business Websites with Bootstrap 5.3.3 (No Build Step, No jQuery)

Comments
2 min read
`@page { size: 4in 6in }` is not enough: what actually decides whether a 4 6 slip prints correctly

`@page { size: 4in 6in }` is not enough: what actually decides whether a 4 6 slip prints correctly

Comments
4 min read
A film poster in two passes: generated key art, then every word in CSS

A film poster in two passes: generated key art, then every word in CSS

1
Comments
4 min read
Building Exact US Letter & A4 Printable Flashcards + Autism Social Stories with Pure CSS @page (Open-Source)

Building Exact US Letter & A4 Printable Flashcards + Autism Social Stories with Pure CSS @page (Open-Source)

1
Comments
4 min read
Remounting a Form by key Resets Uncontrolled Inputs

Remounting a Form by key Resets Uncontrolled Inputs

Comments
4 min read
Make a Watermark-Free GTA-Style Reaction GIF Entirely in Your Browser

Make a Watermark-Free GTA-Style Reaction GIF Entirely in Your Browser

Comments
4 min read
Integrating egoist/mygo into React Pipelines: Accessible TailwindCSS v4 Components with Radix Primitives

Integrating egoist/mygo into React Pipelines: Accessible TailwindCSS v4 Components with Radix Primitives

Comments
4 min read
What Is Tailwind CSS? Explained Simply for Beginners

What Is Tailwind CSS? Explained Simply for Beginners

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