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 Two-Tree Problem with Styling on the Web

The Two-Tree Problem with Styling on the Web

1
Comments 5
1 min read
Elevate Your Web Design: How to Enhance Your HTML with GitHub Utils CSS via CDN

Elevate Your Web Design: How to Enhance Your HTML with GitHub Utils CSS via CDN

3
Comments
3 min read
CSS Tools for Enhanced Web Design

CSS Tools for Enhanced Web Design

163
Comments 9
2 min read
Dandole vuelta a la cascada usando Custom Properties

Dandole vuelta a la cascada usando Custom Properties

2
Comments 2
5 min read
Understanding the Difference Between REM and PX in CSS

Understanding the Difference Between REM and PX in CSS

5
Comments
2 min read
SelectorHound: The tool for Sniffing out CSS Selectors

SelectorHound: The tool for Sniffing out CSS Selectors

6
Comments
4 min read
Mastering CSS Attribute Selectors for Fine-grained Styling

Mastering CSS Attribute Selectors for Fine-grained Styling

1
Comments
2 min read
Unidades CSS — Um Guia Completo

Unidades CSS — Um Guia Completo

1
Comments
11 min read
How I reduced Tailwind CSS Home Page's HTML size by 28.5%, CSS by 23.7% and JS by 8.4%

How I reduced Tailwind CSS Home Page's HTML size by 28.5%, CSS by 23.7% and JS by 8.4%

4
Comments
4 min read
CSS Equivalent of the "if" statement

CSS Equivalent of the "if" statement

Comments
1 min read
TuiCSS Tutorial - parte 2

TuiCSS Tutorial - parte 2

1
Comments
3 min read
Dark Mode

Dark Mode

Comments
1 min read
Create an event calendar

Create an event calendar

8
Comments
7 min read
Do you need a Tooltip or a Speech Bubble? I have created 100 using CSS 😲

Do you need a Tooltip or a Speech Bubble? I have created 100 using CSS 😲

79
Comments 3
3 min read
Horizontal scroll animation

Horizontal scroll animation

4
Comments
1 min read
The Specificity Of ::slotted()

The Specificity Of ::slotted()

2
Comments
3 min read
Tailwind | Custom Plugins

Tailwind | Custom Plugins

39
Comments 3
3 min read
Japanese Ramen - PURE CSS ART

Japanese Ramen - PURE CSS ART

15
Comments 7
1 min read
Crear un menú responsive con CSS y JavaScript

Crear un menú responsive con CSS y JavaScript

Comments
4 min read
Awesome Border Animation Effects using CSS

Awesome Border Animation Effects using CSS

12
Comments 2
1 min read
Padronizando nomenclatura de classes utilizando o CSS Pattern BEM

Padronizando nomenclatura de classes utilizando o CSS Pattern BEM

Comments
3 min read
Styling a CSS pseudo-element with JavaScript

Styling a CSS pseudo-element with JavaScript

40
Comments 1
1 min read
Empowering User Interaction with contenteditable Attribute

Empowering User Interaction with contenteditable Attribute

Comments
2 min read
Create a Gantt chart

Create a Gantt chart

2
Comments
7 min read
100 DAYS CSS CHALLENGE: Day #2

100 DAYS CSS CHALLENGE: Day #2

1
Comments
5 min read
Calculator UI in HTML and CSS

Calculator UI in HTML and CSS

2
Comments
3 min read
🔍 Get instant clarity – CodeMate's AI unlocks your coding answers

🔍 Get instant clarity – CodeMate's AI unlocks your coding answers

Comments
3 min read
The value of live web design

The value of live web design

6
Comments 6
5 min read
Loading animation with HTML + CSS + JS

Loading animation with HTML + CSS + JS

Comments
1 min read
Vlite - a lite demo server inspired by Vite

Vlite - a lite demo server inspired by Vite

2
Comments
5 min read
SASS is dead? CSS vs SASS 2024

SASS is dead? CSS vs SASS 2024

13
Comments 5
4 min read
10 Cool CodePen Demos (February 2024)

10 Cool CodePen Demos (February 2024)

28
Comments 2
3 min read
Combining Dynamic Breakpoints and Container Queries in Tailwind CSS

Combining Dynamic Breakpoints and Container Queries in Tailwind CSS

16
Comments
4 min read
Creating Gradient Buttons with Animated Text using CSS

Creating Gradient Buttons with Animated Text using CSS

1
Comments
5 min read
Building an Infinite Scroll Component with Intersection Observer 🚀

Building an Infinite Scroll Component with Intersection Observer 🚀

22
Comments
3 min read
your friendly neighborhood Tailwind

your friendly neighborhood Tailwind

2
Comments
3 min read
Web Dev Day 3: CSS3 Guide Part 1

Web Dev Day 3: CSS3 Guide Part 1

Comments
16 min read
clsx for Rails views

clsx for Rails views

3
Comments 2
2 min read
100 DAYS CSS CHALLENGE: Day #1

100 DAYS CSS CHALLENGE: Day #1

7
Comments
5 min read
CSS tips to avoid bad UX

CSS tips to avoid bad UX

5
Comments
2 min read
The Easiest Way to Install SASS

The Easiest Way to Install SASS

1
Comments
1 min read
CSS selector for parent element? 🤨

CSS selector for parent element? 🤨

1
Comments
1 min read
Animaciones CSS y JavaScript básicas para una página web interactiva

Animaciones CSS y JavaScript básicas para una página web interactiva

Comments
4 min read
Basic CSS and JavaScript Animations for an Interactive Web Page

Basic CSS and JavaScript Animations for an Interactive Web Page

2
Comments
4 min read
5 Useful CSS Tips and Tricks Every Developer Should Know

5 Useful CSS Tips and Tricks Every Developer Should Know

1
Comments
1 min read
Using Tailwind for four months

Using Tailwind for four months

Comments
9 min read
[Sparta Coding Club] Week 4 - Today I learned

[Sparta Coding Club] Week 4 - Today I learned

Comments
3 min read
Styled-Components: Why you should (or should not) use it

Styled-Components: Why you should (or should not) use it

13
Comments 2
7 min read
Create reusable and extensible styled elements in one line

Create reusable and extensible styled elements in one line

Comments
4 min read
Future of CSS: Functions and Mixins

Future of CSS: Functions and Mixins

60
Comments 21
3 min read
🌟5 Star Rating component: A Step-by-Step Guide 🌟

🌟5 Star Rating component: A Step-by-Step Guide 🌟

29
Comments
3 min read
Solving SCSS Parent Selector Scope Issue

Solving SCSS Parent Selector Scope Issue

Comments
2 min read
Cache-Busting Background Images in SCSS

Cache-Busting Background Images in SCSS

Comments
3 min read
🔮 Adobe Redefines Design - Inside Spectrum 2's Visionary Update

🔮 Adobe Redefines Design - Inside Spectrum 2's Visionary Update

Comments
3 min read
How my custom GPT taught me how to use my own library!

How my custom GPT taught me how to use my own library!

Comments
1 min read
Exploring the Power of dvh Units in CSS

Exploring the Power of dvh Units in CSS

4
Comments
2 min read
Unleashing the Power of CSS for Mind-Blowing 3D Effects

Unleashing the Power of CSS for Mind-Blowing 3D Effects

5
Comments
3 min read
Exploring CSS where it doesn't make sense

Exploring CSS where it doesn't make sense

50
Comments 7
11 min read
Create a horizontal divider with centered text

Create a horizontal divider with centered text

1
Comments
4 min read
Flexbox in CSS

Flexbox in CSS

Comments
1 min read
loading...