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.
14 Design Mistakes Developers Make (and How to Fix Them With Examples)

14 Design Mistakes Developers Make (and How to Fix Them With Examples)

Comments
2 min read
Styling by Language: Using the lang Attribute for Multilingual Design

Styling by Language: Using the lang Attribute for Multilingual Design

12
Comments 1
4 min read
CSS Architecture and Organization: BEM, OOCSS, and SMACSS

CSS Architecture and Organization: BEM, OOCSS, and SMACSS

Comments
3 min read
Ugly Sweater CSS: Droids.

Ugly Sweater CSS: Droids.

12
Comments 2
5 min read
You Are Using TailwindCSS Wrong

You Are Using TailwindCSS Wrong

13
Comments 8
6 min read
The Latest Trends in Front-End Development

The Latest Trends in Front-End Development

Comments 1
1 min read
How CSS Animation Helped Me Build Interfaces That Feel Alive

How CSS Animation Helped Me Build Interfaces That Feel Alive

5
Comments
4 min read
Ugly Sweater CSS: Jawa's Back the Return of the Droids.

Ugly Sweater CSS: Jawa's Back the Return of the Droids.

Comments
3 min read
Mastering CSS Colors: A Complete Guide from Hex Codes to Modern Systems | 2025

Mastering CSS Colors: A Complete Guide from Hex Codes to Modern Systems | 2025

2
Comments
5 min read
stopPropagation()、catch (_)、定位属性、chrome.runtime.getURL、requestAnimationFrame()

stopPropagation()、catch (_)、定位属性、chrome.runtime.getURL、requestAnimationFrame()

Comments
1 min read
uniapp里 rich-text 里的img图片如何控制最大宽度

uniapp里 rich-text 里的img图片如何控制最大宽度

Comments
1 min read
100 Web Development Jokes

100 Web Development Jokes

6
Comments
12 min read
transform

transform

Comments
1 min read
Pure CSS Timed Cards Opening

Pure CSS Timed Cards Opening

Comments
6 min read
🚫 Simple & Clean 404 Error Page — HTML & CSS

🚫 Simple & Clean 404 Error Page — HTML & CSS

Comments
1 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.