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.
Top 5 Modern CSS Features for Frontend Developers

Top 5 Modern CSS Features for Frontend Developers

Comments
4 min read
Beyond Viewport Units: Explanation of svh, lvh, and dvh

Beyond Viewport Units: Explanation of svh, lvh, and dvh

Comments
3 min read
Scroll-based animations: the future of interactive web design

Scroll-based animations: the future of interactive web design

Comments
4 min read
Complete Guide to CSS Container Queries in 2026

Complete Guide to CSS Container Queries in 2026

Comments
3 min read
How to Add Dark Mode to Any Website (Even If You’re Not a CSS Wizard)

How to Add Dark Mode to Any Website (Even If You’re Not a CSS Wizard)

Comments
3 min read
Basics of CSS Flexbox: A Complete Guide for Beginners on Flexible Element Positioning

Basics of CSS Flexbox: A Complete Guide for Beginners on Flexible Element Positioning

Comments
10 min read
Typography Secrets: New Opportunities of the CSS font-palette Property

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

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

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

Comments
3 min read
OKLCH and OKLAB Color Spaces in CSS: Why HEX is No Longer Needed

OKLCH and OKLAB Color Spaces in CSS: Why HEX is No Longer Needed

Comments
3 min read
Creating Complex Scroll-driven Animations with Pure CSS in 2026

Creating Complex Scroll-driven Animations with Pure CSS in 2026

Comments
4 min read
CSS Anchor Positioning: A Complete Guide to Anchoring Elements Without JavaScript

CSS Anchor Positioning: A Complete Guide to Anchoring Elements Without JavaScript

Comments
3 min read
Style Queries in CSS: how to style elements based on the styles of the parent container

Style Queries in CSS: how to style elements based on the styles of the parent container

Comments
3 min read
Modern Color Spaces: Why OKLCH and LCH Are Needed

Modern Color Spaces: Why OKLCH and LCH Are Needed

Comments
3 min read
CSS Subgrid in Real Examples: Aligning Nested Cards

CSS Subgrid in Real Examples: Aligning Nested Cards

Comments
4 min read
CSS Performance Optimization: How to Achieve 100 Points in Google PageSpeed

CSS Performance Optimization: How to Achieve 100 Points in Google PageSpeed

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