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.
Stop Writing JavaScript To Fix `100vh` On Mobile

Stop Writing JavaScript To Fix `100vh` On Mobile

11
Comments
6 min read
Building an OKLCH palette generator that survives gamut limits and exports to Aseprite

Building an OKLCH palette generator that survives gamut limits and exports to Aseprite

Comments
3 min read
A four-phase state machine, 88 CSS rules, and no video in our hero

A four-phase state machine, 88 CSS rules, and no video in our hero

1
Comments 2
6 min read
CSS Overflow

CSS Overflow

Comments
2 min read
I expected image pixelation to mean per-pixel math — this tool mostly just redraws the same rectangle twice

I expected image pixelation to mean per-pixel math — this tool mostly just redraws the same rectangle twice

8
Comments
4 min read
How to Build Premium Social Media Icon Buttons with CSS

How to Build Premium Social Media Icon Buttons with CSS

1
Comments 2
4 min read
7 Practical Responsive Design Tips for Better Mobile Experiences

7 Practical Responsive Design Tips for Better Mobile Experiences

Comments
3 min read
10 Cool CodePen Demos (August 2026)

10 Cool CodePen Demos (August 2026)

9
Comments
3 min read
Stop exporting design tokens to JSON for your web apps

Stop exporting design tokens to JSON for your web apps

2
Comments 1
4 min read
Why Browser Games That Look Offline Still Need an Internet Connection

Why Browser Games That Look Offline Still Need an Internet Connection

Comments
5 min read
Day 7: Creating a YouTube Page Using HTML & CSS

Day 7: Creating a YouTube Page Using HTML & CSS

Comments
1 min read
DaisyUI vs Frutjam: an honest comparison (I wrote one of them)

DaisyUI vs Frutjam: an honest comparison (I wrote one of them)

2
Comments
8 min read
# Instalar uma biblioteca de CSS quase apagou um botĂŁo do sistema

# Instalar uma biblioteca de CSS quase apagou um botĂŁo do sistema

Comments
5 min read
CSS Position Explained: Static, Relative, Absolute, Fixed & Sticky.

CSS Position Explained: Static, Relative, Absolute, Fixed & Sticky.

5
Comments 1
2 min read
The CSS Problem Nobody Thinks Is Solvable

The CSS Problem Nobody Thinks Is Solvable

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