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.
The CSS Box Model: Margin, Border, Padding & Content

The CSS Box Model: Margin, Border, Padding & Content

Comments
3 min read
How to Create a Flip Animation in CSS (Step-by-Step Tutorial)

How to Create a Flip Animation in CSS (Step-by-Step Tutorial)

Comments
3 min read
Smarter CSS Targeting with :nth-child(of <selector>)

Smarter CSS Targeting with :nth-child(of <selector>)

Comments
2 min read
CSS Media Query in Javascript

CSS Media Query in Javascript

Comments
2 min read
My Super-App learning journey — first small wins, a simple login demo & a student hack 🚀

My Super-App learning journey — first small wins, a simple login demo & a student hack 🚀

Comments
3 min read
Beyond Light/Dark Mode: Implementing Dynamic Themes with CSS Custom Properties

Beyond Light/Dark Mode: Implementing Dynamic Themes with CSS Custom Properties

Comments
5 min read
Unlock Full Control of Your CSS with Revert-Layer

Unlock Full Control of Your CSS with Revert-Layer

4
Comments
5 min read
Boosting Page Speed with HTML, CSS, and JS Minifiers — A Developer’s Guide

Boosting Page Speed with HTML, CSS, and JS Minifiers — A Developer’s Guide

Comments
5 min read
BASICS OF HTML CSS JAVASCRIPT

BASICS OF HTML CSS JAVASCRIPT

Comments
3 min read
🎨 Tailwind CSS: The Utility-First Approach Explained

🎨 Tailwind CSS: The Utility-First Approach Explained

Comments
2 min read
Tailwind - CSS style

Tailwind - CSS style

Comments
1 min read
Introduction au CSS "utile"

Introduction au CSS "utile"

2
Comments
3 min read
PWA in iPadOS 26 is a joke

PWA in iPadOS 26 is a joke

1
Comments
2 min read
Understanding Margin Collapse: The Invisible Force Breaking Your Layout

Understanding Margin Collapse: The Invisible Force Breaking Your Layout

4
Comments
6 min read
JavaScript DOM: A Beginner’s Guide to Changing Styles and Classes

JavaScript DOM: A Beginner’s Guide to Changing Styles and Classes

Comments
3 min read
Web Transition: Part 1 of 4 — The Original Web

Web Transition: Part 1 of 4 — The Original Web

Comments
3 min read
innerText vs innerHTML vs textContent: What’s the Real Difference?

innerText vs innerHTML vs textContent: What’s the Real Difference?

Comments
1 min read
My 50 Projects in 50 Days Challenge

My 50 Projects in 50 Days Challenge

Comments
1 min read
🛠️ 5 rules to fix device onboarding

🛠️ 5 rules to fix device onboarding

Comments
6 min read
TIL: Building a Simple QR Generator

TIL: Building a Simple QR Generator

5
Comments 1
2 min read
CSS grid-template-areas is awesome

CSS grid-template-areas is awesome

1
Comments 2
2 min read
Days 1–3 | 50 Projects in 50 Days

Days 1–3 | 50 Projects in 50 Days

1
Comments 1
2 min read
Types of CSS: Inline, Embedded, and External

Types of CSS: Inline, Embedded, and External

Comments
2 min read
🔄 CSS Unit Converter – Instantly Convert px, rem, em, %, vh, vw

🔄 CSS Unit Converter – Instantly Convert px, rem, em, %, vh, vw

Comments
1 min read
Modern CSS reset?

Modern CSS reset?

Comments
1 min read
loading...