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.
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
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
How I made cssnano ~30% faster

How I made cssnano ~30% faster

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

CSS Counters: Automatic Numbering of Lists

Comments
4 min read
I built a startup waitlist landing page in Next.js 15 — here are all the decisions I made

I built a startup waitlist landing page in Next.js 15 — here are all the decisions I made

1
Comments
3 min read
You're a Real Frontend Developer Only If...

You're a Real Frontend Developer Only If...

Comments
2 min read
Hyu-Sync, my fun side project

Hyu-Sync, my fun side project

Comments
1 min read
How to Properly Work with Cascade Specificity

How to Properly Work with Cascade Specificity

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