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.
Five HTML website templates with no framework and no build step: what I learned

Five HTML website templates with no framework and no build step: what I learned

Comments
2 min read
How I Built a 60fps Frosted-Glass Shatter & Crystal Sound Effect with Pure CSS + Web Audio API (0 KB Audio Files)

How I Built a 60fps Frosted-Glass Shatter & Crystal Sound Effect with Pure CSS + Web Audio API (0 KB Audio Files)

1
Comments 1
6 min read
05/12 - Intermediate CSS - More CSS Properties (2)

05/12 - Intermediate CSS - More CSS Properties (2)

Comments
1 min read
Why 3440x1440 Isn't Actually 21:9 — Exact Aspect Ratio Math & Pixel Tables (2026)

Why 3440x1440 Isn't Actually 21:9 — Exact Aspect Ratio Math & Pixel Tables (2026)

Comments
4 min read
He called our elephant shit. We brought it back — properly this time.

He called our elephant shit. We brought it back — properly this time.

Comments
3 min read
Why URL Scrapers Fail at Generating DESIGN.md (and How We Built a 100% Local Extractor in 280 Lines of Zero-Dep JS)

Why URL Scrapers Fail at Generating DESIGN.md (and How We Built a 100% Local Extractor in 280 Lines of Zero-Dep JS)

Comments
3 min read
Integrating CopilotKit into Tailwind + shadcn/ui: Generative UI Component Patterns

Integrating CopilotKit into Tailwind + shadcn/ui: Generative UI Component Patterns

Comments
4 min read
Case Converter for React Inline Styles: Turning font-size into fontSize Without the Silent Failures

Case Converter for React Inline Styles: Turning font-size into fontSize Without the Silent Failures

Comments
4 min read
Two UI bugs I missed by eye: touching date inputs and a modal outside its provider

Two UI bugs I missed by eye: touching date inputs and a modal outside its provider

Comments 1
2 min read
Building an Interactive Arabic Alphabet Learning Tool with HTML, CSS and JavaScript

Building an Interactive Arabic Alphabet Learning Tool with HTML, CSS and JavaScript

Comments
4 min read
How to Create a Responsive Website Using HTML and CSS (Beginner-Friendly Guide)

How to Create a Responsive Website Using HTML and CSS (Beginner-Friendly Guide)

Comments
3 min read
Real RGB Split in CSS with mix-blend-mode: screen

Real RGB Split in CSS with mix-blend-mode: screen

1
Comments
3 min read
I Stopped Checking relatedTarget. :focus-within Does It in CSS.

I Stopped Checking relatedTarget. :focus-within Does It in CSS.

5
Comments 1
5 min read
Why Modern Flexbox HTML Breaks in Outlook (And How to Code a Clean Business Email Signature)

Why Modern Flexbox HTML Breaks in Outlook (And How to Code a Clean Business Email Signature)

Comments
3 min read
Googly eyes for any element with one attribute (and the spring that makes them wobble)

Googly eyes for any element with one attribute (and the spring that makes them wobble)

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