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.
Mathematics in CSS: functions clamp(), min(), and max()

Mathematics in CSS: functions clamp(), min(), and max()

Comments
3 min read
View Transitions API: Smooth Transitions Without JavaScript

View Transitions API: Smooth Transitions Without JavaScript

Comments
4 min read
Native CSS Nesting: Writing Nesting Without Preprocessors

Native CSS Nesting: Writing Nesting Without Preprocessors

Comments
3 min read
The Magic of the :has() Pseudo-Class in Real Projects

The Magic of the :has() Pseudo-Class in Real Projects

Comments
3 min read
Typography Secrets: New Possibilities of the CSS Property font-palette

Typography Secrets: New Possibilities of the CSS Property font-palette

Comments
3 min read
Complete Guide to CSS Subgrid

Complete Guide to CSS Subgrid

Comments
3 min read
CSS Magic: Pseudo-classes :has() and :is() that Will Replace Your JavaScript

CSS Magic: Pseudo-classes :has() and :is() that Will Replace Your JavaScript

Comments
3 min read
Performance Optimization: How to Properly Load CSS

Performance Optimization: How to Properly Load CSS

Comments
3 min read
Native CSS Variables: Advanced Techniques and Hacks

Native CSS Variables: Advanced Techniques and Hacks

Comments
3 min read
Custom Scrollbars with Pure CSS: A Cross-Browser Approach

Custom Scrollbars with Pure CSS: A Cross-Browser Approach

Comments
3 min read
How to Properly Use Flexbox in 2026

How to Properly Use Flexbox in 2026

Comments
3 min read
Dark Theme with Pure CSS: Using prefers-color-scheme

Dark Theme with Pure CSS: Using prefers-color-scheme

Comments
3 min read
New Units of Measurement in CSS (dvh, lvh, svh) and Why Its Time to Forget About vh

New Units of Measurement in CSS (dvh, lvh, svh) and Why Its Time to Forget About vh

Comments
3 min read
CSS Subgrid: how to stop struggling with nested grids

CSS Subgrid: how to stop struggling with nested grids

Comments
3 min read
Top 5 Modern CSS Features for Frontend Developers

Top 5 Modern CSS Features for Frontend Developers

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