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.
How to Keep Your Website Fast When Using Custom Fonts

How to Keep Your Website Fast When Using Custom Fonts

Comments
1 min read
Tailwind CSS Arbitrary Values in Dynamic Tenant Theme Systems: Generating Color Utilities Without PostCSS Plugin Hell

Tailwind CSS Arbitrary Values in Dynamic Tenant Theme Systems: Generating Color Utilities Without PostCSS Plugin Hell

Comments
4 min read
CSS box-shadow: The Complete Guide to Multi-Layer Shadows

CSS box-shadow: The Complete Guide to Multi-Layer Shadows

Comments
3 min read
Your CSS Grid cards look misaligned. `subgrid` is the fix you didn't know existed.

Your CSS Grid cards look misaligned. `subgrid` is the fix you didn't know existed.

10
Comments
4 min read
Styling and Color

Styling and Color

2
Comments
11 min read
How to Pick an Exact Color From an Image and Use It in CSS (HEX, RGB, HSL & OKLCH)

How to Pick an Exact Color From an Image and Use It in CSS (HEX, RGB, HSL & OKLCH)

Comments 1
2 min read
Color Contrast Failures: The Number One Accessibility Issue and How to Fix It

Color Contrast Failures: The Number One Accessibility Issue and How to Fix It

2
Comments
2 min read
I built a full SaaS admin dashboard in pure HTML/CSS — 5 pages, zero dependencies

I built a full SaaS admin dashboard in pure HTML/CSS — 5 pages, zero dependencies

1
Comments
1 min read
UI Kernel: Design Tokens as Symfony infrastructure

UI Kernel: Design Tokens as Symfony infrastructure

Comments
8 min read
Shadow DOM vs iframe for browser extension tooltips: a build note

Shadow DOM vs iframe for browser extension tooltips: a build note

Comments
2 min read
Bootstrap 5 vs Tailwind CSS 2026: Which Should You Pick?

Bootstrap 5 vs Tailwind CSS 2026: Which Should You Pick?

Comments
3 min read
I built a hardware-inspired UI component library in pure Vanilla JS — here's how

I built a hardware-inspired UI component library in pure Vanilla JS — here's how

Comments
2 min read
Flex & Grid - CSS Most Powerful Layout Systems.

Flex & Grid - CSS Most Powerful Layout Systems.

Comments
19 min read
CSS: Decoupling Behaviors

CSS: Decoupling Behaviors

2
Comments
2 min read
Add an Apple-style liquid-glass rim to any React element (zero dependencies)

Add an Apple-style liquid-glass rim to any React element (zero dependencies)

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