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 Shipping Custom UI That Disappears in `forced-colors` Mode

Stop Shipping Custom UI That Disappears in `forced-colors` Mode

5
Comments 1
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
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
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
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
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
Zoom your landing page to 200% before you ship it: a two-minute check

Zoom your landing page to 200% before you ship it: a two-minute check

Comments 1
2 min read
React: mide la UX de un inbox de prueba

React: mide la UX de un inbox de prueba

Comments
5 min read
Building a liquid glass card with CSS

Building a liquid glass card with CSS

Comments
3 min read
I almost added a PDF library. A print stylesheet was enough.

I almost added a PDF library. A print stylesheet was enough.

Comments
2 min read
A flex child that is allowed to shrink overflows from its centre, so the title left the top of the screen and the button left the bottom

A flex child that is allowed to shrink overflows from its centre, so the title left the top of the screen and the button left the bottom

Comments
4 min read
Stress-test a card with longer content before adding breakpoints

Stress-test a card with longer content before adding breakpoints

Comments
2 min read
Build a fluid heading from two sizes and two viewport widths

Build a fluid heading from two sizes and two viewport widths

Comments
2 min read
CSS Concepts Beginners Should Learn First: A Practical Learning Roadmap

CSS Concepts Beginners Should Learn First: A Practical Learning Roadmap

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