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.
Design Tokens: Stop Your Brand Colours Drifting Between Figma and CSS

Design Tokens: Stop Your Brand Colours Drifting Between Figma and CSS

Comments
3 min read
🖥️ Code RS: CDN-Free Syntax-Highlighted Code Components for WASM

🖥️ Code RS: CDN-Free Syntax-Highlighted Code Components for WASM

1
Comments
6 min read
Dark mode without the flash

Dark mode without the flash

Comments 3
7 min read
Obsidian: Black Until the Light Moves

Obsidian: Black Until the Light Moves

Comments
5 min read
Live chart updates without re-rendering the DOM — st-core + one CSS variable write

Live chart updates without re-rendering the DOM — st-core + one CSS variable write

1
Comments
3 min read
Web Components: Shadow DOM

Web Components: Shadow DOM

Comments 1
10 min read
Constructor Function:

Constructor Function:

Comments
1 min read
HTML Explained Using a Simple House Analogy

HTML Explained Using a Simple House Analogy

Comments
9 min read
CSSForge: Upgrading to v1.1 soon!

CSSForge: Upgrading to v1.1 soon!

Comments
1 min read
Building a third-party embed that survives any host page

Building a third-party embed that survives any host page

Comments 3
7 min read
Stop Hardcoding Color Variants. Relative Color Syntax Does It.

Stop Hardcoding Color Variants. Relative Color Syntax Does It.

7
Comments 1
7 min read
CSS Works in Chrome but Not Safari or Firefox? A Real Example and Fix

CSS Works in Chrome but Not Safari or Firefox? A Real Example and Fix

3
Comments
7 min read
I Got Tired of 200MB node_modules in Admin Dashboards, So I Built One With Zero Dependencies

I Got Tired of 200MB node_modules in Admin Dashboards, So I Built One With Zero Dependencies

Comments
1 min read
My Frontend Project:Google & Facebook Login pages.

My Frontend Project:Google & Facebook Login pages.

Comments
1 min read
Eighteen hand-drawn SVG spots that invert on a dark panel without taking a single prop

Eighteen hand-drawn SVG spots that invert on a dark panel without taking a single prop

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