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.
22/11 TOP - Intermediate CSS Concepts - CSS Units (day 1)

22/11 TOP - Intermediate CSS Concepts - CSS Units (day 1)

Comments
1 min read
A page-turning book in Remotion is one array of leaves, a rotateY and two faces, and the stacking order is the only hard part

A page-turning book in Remotion is one array of leaves, a rotateY and two faces, and the stacking order is the only hard part

Comments
6 min read
1,216 of our stylesheet's 3,133 lines draw two fake phones, and 294 lines serve 420 of our pages

1,216 of our stylesheet's 3,133 lines draw two fake phones, and 294 lines serve 420 of our pages

Comments
5 min read
How to Make Your Website Not Look AI-Generated: 9 Tells From Slopstrap's CSS

How to Make Your Website Not Look AI-Generated: 9 Tells From Slopstrap's CSS

4
Comments
7 min read
How to Create a Browser Checkerboard Preview for Transparent PNG Assets

How to Create a Browser Checkerboard Preview for Transparent PNG Assets

Comments
2 min read
How to Create an SVG Icon Sprite for Your Website

How to Create an SVG Icon Sprite for Your Website

1
Comments
10 min read
Halloween effects on Shopify, WordPress, Wix and Webflow without touching a theme

Halloween effects on Shopify, WordPress, Wix and Webflow without touching a theme

2
Comments
2 min read
"An invalid form control is not focusable": Hidden Steps

"An invalid form control is not focusable": Hidden Steps

Comments 1
4 min read
One brand color, three platforms: what actually changes

One brand color, three platforms: what actually changes

Comments 1
6 min read
Solid Glass Adds an AI UI Theme to shadcn/ui Projects

Solid Glass Adds an AI UI Theme to shadcn/ui Projects

Comments
3 min read
Our design system is a markdown table of nineteen motifs, and the useful column is the one that says no

Our design system is a markdown table of nineteen motifs, and the useful column is the one that says no

1
Comments
6 min read
css-ghost: find and delete orphaned CSS selectors with zero config

css-ghost: find and delete orphaned CSS selectors with zero config

Comments
3 min read
My screenshot was 1080x1350. The page was 1722 pixels tall.

My screenshot was 1080x1350. The page was 1722 pixels tall.

1
Comments 1
5 min read
Stop Blaming `prefers-color-scheme` For Your Theme Flash

Stop Blaming `prefers-color-scheme` For Your Theme Flash

7
Comments
6 min read
Screen Sizes & Viewport Cheat Sheet for 2026

Screen Sizes & Viewport Cheat Sheet for 2026

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