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.
Stop Bloating Your JS Bundle: Mastering Zero-Runtime CSS with traceless-style ⚡

Stop Bloating Your JS Bundle: Mastering Zero-Runtime CSS with traceless-style ⚡

Comments
2 min read
Dark Mode in 5 Minutes with salt-theme-gen (No Flash, Zero Extra Dependencies)

Dark Mode in 5 Minutes with salt-theme-gen (No Flash, Zero Extra Dependencies)

Comments
3 min read
How I migrated a large Next.js project from Tailwind CSS v3 to v4

How I migrated a large Next.js project from Tailwind CSS v3 to v4

1
Comments
4 min read
I Rebuilt the Cmd-K Command Palette in ~60 Lines of JavaScript

I Rebuilt the Cmd-K Command Palette in ~60 Lines of JavaScript

Comments
2 min read
Why are we still shipping CSS parser code to the browser?

Why are we still shipping CSS parser code to the browser?

2
Comments
1 min read
I Rebuilt Notion's Slash Menu (/) in ~70 Lines of JavaScript

I Rebuilt Notion's Slash Menu (/) in ~70 Lines of JavaScript

1
Comments
2 min read
How I Brought CSS corner-shape to Safari and Firefox

How I Brought CSS corner-shape to Safari and Firefox

1
Comments
3 min read
I Cloned the Discord Chat UI With Pure CSS — Here's How the Layout Works

I Cloned the Discord Chat UI With Pure CSS — Here's How the Layout Works

Comments
3 min read
I stopped loading fonts from Google's CDN — here's the self-hosting setup that stuck

I stopped loading fonts from Google's CDN — here's the self-hosting setup that stuck

Comments
3 min read
UI IP Toolkit - A standalone static visual catalog for CSS/JS components

UI IP Toolkit - A standalone static visual catalog for CSS/JS components

Comments
1 min read
CSS Functions Explained: The Tools That Make Modern CSS Powerful

CSS Functions Explained: The Tools That Make Modern CSS Powerful

Comments
9 min read
Project-FB login Page

Project-FB login Page

1
Comments
2 min read
5 heuristic bugs that made my design-token tool call a bright cream page "dark and moody"

5 heuristic bugs that made my design-token tool call a bright cream page "dark and moody"

Comments
4 min read
How I'm Preventing Most of the Bugs Before They Ship — Bear UI 1.2.4

How I'm Preventing Most of the Bugs Before They Ship — Bear UI 1.2.4

Comments
4 min read
Container Queries: The CSS Feature I Wish I Had Years Ago

Container Queries: The CSS Feature I Wish I Had Years Ago

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