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.
Reserve image space on your landing page so the button does not jump: a layout shift check

Reserve image space on your landing page so the button does not jump: a layout shift check

Comments 3
2 min read
Mask Reveal Code: the small motion details that make it feel right

Mask Reveal Code: the small motion details that make it feel right

Comments 1
1 min read
Using CSS Masks to Improve Icons in Design Systems

Solves repetitive DOM bloat in Shadow DOM

Using CSS Masks to Improve Icons in Design Systems

5
Comments 6
6 min read
Why Nastaliq Urdu Text Breaks on the Web — and Practical Fixes for Developers

Why Nastaliq Urdu Text Breaks on the Web — and Practical Fixes for Developers

Comments
3 min read
20/11 - Intermediate CSS - Default Styles (day 3)

20/11 - Intermediate CSS - Default Styles (day 3)

Comments
1 min read
Responsive 2-Column Form Design: Handling Error Messages Without Layout Shifts Across Devices

Responsive 2-Column Form Design: Handling Error Messages Without Layout Shifts Across Devices

Comments
11 min read
Firefox PDF Guide: Viewer, Annotations, Print to PDF, and Print CSS

Firefox PDF Guide: Viewer, Annotations, Print to PDF, and Print CSS

Comments
3 min read
Firefox DevTools CSS Inspector: Grid Overlay, Flexbox Debug, Changes Tracking

Firefox DevTools CSS Inspector: Grid Overlay, Flexbox Debug, Changes Tracking

Comments
4 min read
Dark Mode in Firefox: OS Settings, CSS, and Extensions (Developer and User Guide)

Dark Mode in Firefox: OS Settings, CSS, and Extensions (Developer and User Guide)

Comments
3 min read
Firefox Font Settings: Rendering, Privacy, and Variable Font Support

Firefox Font Settings: Rendering, Privacy, and Variable Font Support

Comments
3 min read
Firefox userChrome.css: Customizing the Browser UI with CSS

Firefox userChrome.css: Customizing the Browser UI with CSS

Comments
3 min read
CSS Animations and Transitions: What to Animate, prefers-reduced-motion, and Performance

CSS Animations and Transitions: What to Animate, prefers-reduced-motion, and Performance

Comments
4 min read
CSS Logical Properties: The Modern Way to Handle RTL, LTR, and Writing Modes

CSS Logical Properties: The Modern Way to Handle RTL, LTR, and Writing Modes

Comments
3 min read
How to Build Dual-Pass Strokes with FSCSS Array Methods

How to Build Dual-Pass Strokes with FSCSS Array Methods

1
Comments
5 min read
CSS Container Queries: Truly Reusable Components That Adapt to Their Container

CSS Container Queries: Truly Reusable Components That Adapt to Their Container

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