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.
I Turned My Portfolio Into a Desktop You Can Actually Use 🖥️

I Turned My Portfolio Into a Desktop You Can Actually Use 🖥️

1
Comments 2
7 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
Recreating Minecraft's XP bar with three SVGs and one @keyframes rule

Recreating Minecraft's XP bar with three SVGs and one @keyframes rule

1
Comments
7 min read
AI Fatigue? I Counted: 9 of the Last 10 Articles I Opened Were About AI. So I Wrote About a Button Instead.

AI Fatigue? I Counted: 9 of the Last 10 Articles I Opened Were About AI. So I Wrote About a Button Instead.

1
Comments
3 min read
Stop Using a JS Masonry Library. CSS Grid Lanes Does It Natively.

Stop Using a JS Masonry Library. CSS Grid Lanes Does It Natively.

8
Comments
5 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
A Free Random Color Generator I Built for Designers and Developers

A Free Random Color Generator I Built for Designers and Developers

Comments
3 min read
CSS Without Runtime Overhead: Meet traceless-style — Build-Time Atomic CSS with Accessibility Built In

CSS Without Runtime Overhead: Meet traceless-style — Build-Time Atomic CSS with Accessibility Built In

3
Comments
5 min read
A webmanifest cannot read a CSS variable, so our brand colour is spelled twice: once as OKLCH and once as hex

A webmanifest cannot read a CSS variable, so our brand colour is spelled twice: once as OKLCH and once as hex

1
Comments
7 min read
My Build Tool Reached 35ms. Here's Why I'm Not Celebrating Yet.

My Build Tool Reached 35ms. Here's Why I'm Not Celebrating Yet.

Comments 2
4 min read
Building a Personal Portfolio Website with HTML, CSS, and JavaScript.

Building a Personal Portfolio Website with HTML, CSS, and JavaScript.

Comments
2 min read
Reserve image space on your landing page so the button does not jump: a layout shift check

Reserve image space on your landing page so the button does not jump: a layout shift check

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