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.
Building an Interactive Virtual Courtroom Website

Building an Interactive Virtual Courtroom Website

Comments
2 min read
I built a gem that finds unused CSS classes in Rails apps — here's the interesting problem I had to solve

I built a gem that finds unused CSS classes in Rails apps — here's the interesting problem I had to solve

1
Comments 1
3 min read
CSS in 2026: Container Queries, Cascade Layers, and the End of Utility-Class Bloat

CSS in 2026: Container Queries, Cascade Layers, and the End of Utility-Class Bloat

Comments
6 min read
Creating the Perfect Sticky Website Header

Creating the Perfect Sticky Website Header

Comments
3 min read
Elegant Trimming of Multiline Text (line-clamp)

Elegant Trimming of Multiline Text (line-clamp)

Comments
3 min read
Learning TailwindCSS As If You Built It Yourself

Learning TailwindCSS As If You Built It Yourself

Comments
11 min read
HTML

HTML

1
Comments 1
3 min read
Help Improve MegonCSS – A Lightweight, Developer-Friendly CSS Framework 🚀

Help Improve MegonCSS – A Lightweight, Developer-Friendly CSS Framework 🚀

Comments
1 min read
How To Generate a Random Color in JavaScript

How To Generate a Random Color in JavaScript

Comments
2 min read
Customization of Interactive Details and Summary Tags

Customization of Interactive Details and Summary Tags

Comments
4 min read
Why I Got Tired of Class-Heavy UI Code and Started Building Around Attributes

Why I Got Tired of Class-Heavy UI Code and Started Building Around Attributes

3
Comments
4 min read
Quick Checkbox Styling with accent-color

Quick Checkbox Styling with accent-color

2
Comments
3 min read
Why UI Libraries Still Need Explicit CSS Imports

Why UI Libraries Still Need Explicit CSS Imports

Comments
5 min read
Centering in CSS: all methods from the 1990s to the present day

Centering in CSS: all methods from the 1990s to the present day

1
Comments
4 min read
CSS Counters: Automatic Numbering of Lists

CSS Counters: Automatic Numbering of Lists

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