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.
Native CSS Nesting: Best Practices, Architecture, and Pitfalls

Native CSS Nesting: Best Practices, Architecture, and Pitfalls

Comments
4 min read
Variable Fonts in CSS: Configuration and Animation

Variable Fonts in CSS: Configuration and Animation

Comments
2 min read
Mathematical Functions in CSS: Using round(), mod(), and rem()

Mathematical Functions in CSS: Using round(), mod(), and rem()

Comments
4 min read
Container Queries vs Media Queries: when and what to use

Container Queries vs Media Queries: when and what to use

Comments
4 min read
Logical Properties of CSS: Writing Code to Support Any Language

Logical Properties of CSS: Writing Code to Support Any Language

Comments
4 min read
The property text-wrap: balance and text-wrap: pretty for perfect headings

The property text-wrap: balance and text-wrap: pretty for perfect headings

Comments
4 min read
Creating Adaptive Typography with the clamp() Function

Creating Adaptive Typography with the clamp() Function

Comments
3 min read
Cascade Layers (@layer) in CSS: how to solve the specificity problem once and for all

Cascade Layers (@layer) in CSS: how to solve the specificity problem once and for all

Comments
4 min read
Hidden CSS Grid Layout Features That Beginners Don’t Know About

Hidden CSS Grid Layout Features That Beginners Don’t Know About

Comments
3 min read
Styling Native HTML Elements <dialog> and <popover> with CSS

Styling Native HTML Elements <dialog> and <popover> with CSS

Comments
4 min read
Cascading CSS Layers (@layer): Taking Specificity Under Control

Cascading CSS Layers (@layer): Taking Specificity Under Control

Comments
3 min read
CSS property field-sizing: automatic resizing of input fields

CSS property field-sizing: automatic resizing of input fields

Comments
3 min read
Dynamic viewport units: dvh, lvh, and svh

Dynamic viewport units: dvh, lvh, and svh

Comments
3 min read
Logical properties of CSS: layout for different languages

Logical properties of CSS: layout for different languages

Comments
4 min read
Pseudo-classes :is() and :where() for clean code

Pseudo-classes :is() and :where() for clean code

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