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.
Pure CSS: Vertical ScrollBar Management.

Pure CSS: Vertical ScrollBar Management.

9
Comments
4 min read
Text Balance in CSS is coming 🔥

Text Balance in CSS is coming 🔥

25
Comments 3
2 min read
How to create product cards with HTML and CSS

How to create product cards with HTML and CSS

10
Comments 10
6 min read
How to Increase CSS Class Selector Specificity to Beat the ID Selector Without Using Important

How to Increase CSS Class Selector Specificity to Beat the ID Selector Without Using Important

5
Comments 1
2 min read
PADDING VS MARGIN: BATTLE BETWEEN CSS PROPERTY

PADDING VS MARGIN: BATTLE BETWEEN CSS PROPERTY

1
Comments 1
5 min read
Cumulative Layout Shift (CLS)

Cumulative Layout Shift (CLS)

Comments
4 min read
How to Create Personal Portfolio Website Using HTML & CSS

How to Create Personal Portfolio Website Using HTML & CSS

1
Comments
2 min read
Global CSS Art

Global CSS Art

2
Comments
1 min read
How to write type-safe CSS Modules

How to write type-safe CSS Modules

10
Comments
6 min read
CSS Typography: Create exact heights with line-clamp

CSS Typography: Create exact heights with line-clamp

5
Comments
4 min read
CodePen Banner Trick 🤖

CodePen Banner Trick 🤖

9
Comments 3
2 min read
How to Generate Custom PDF, Using React and React-PDF.

How to Generate Custom PDF, Using React and React-PDF.

70
Comments 3
8 min read
[html css js] Show/hide password input value

[html css js] Show/hide password input value

2
Comments
1 min read
[html css jquery] How to hide element by click outside

[html css jquery] How to hide element by click outside

2
Comments
1 min read
ITCSS - Arquitectura CSS

ITCSS - Arquitectura CSS

3
Comments
6 min read
13 Rules I Follow When Writing CSS To Make It Concise and Readable🚀💡

13 Rules I Follow When Writing CSS To Make It Concise and Readable🚀💡

32
Comments 4
3 min read
Build a Dice Roll Simulator using HTML CSS and JavaScript

Build a Dice Roll Simulator using HTML CSS and JavaScript

7
Comments 2
9 min read
Dark Mode Toggle and prefers-color-scheme

Dark Mode Toggle and prefers-color-scheme

98
Comments 2
4 min read
Fun with CSS Morphism trends - Silkmorphism

Fun with CSS Morphism trends - Silkmorphism

5
Comments
5 min read
Hide text in CSS pseudo elements from screen readers with this one weird trick

Hide text in CSS pseudo elements from screen readers with this one weird trick

23
Comments 3
2 min read
Creating responsive mobile layouts with Pure.css

Creating responsive mobile layouts with Pure.css

1
Comments
11 min read
10 CSS Tools AI Can Integrate With for Improved Website Design

10 CSS Tools AI Can Integrate With for Improved Website Design

3
Comments
8 min read
Building Better Websites with CSS and JavaScript Motion Design

Building Better Websites with CSS and JavaScript Motion Design

6
Comments 8
2 min read
Styled-components: ¿Amigo o enemigo?

Styled-components: ¿Amigo o enemigo?

Comments
3 min read
Understanding CSS Specificity: What It Is and How It Works

Understanding CSS Specificity: What It Is and How It Works

10
Comments 1
6 min read
Analysis: The YouTube video glow

Analysis: The YouTube video glow

6
Comments 1
4 min read
15 Awesome CSS Properties You Need to Know 🎯

15 Awesome CSS Properties You Need to Know 🎯

5
Comments
6 min read
Most Developers Fail This Simple CSS Interview Question (CSS Specificity)

Most Developers Fail This Simple CSS Interview Question (CSS Specificity)

5
Comments 1
3 min read
35 Awesome Frontend Projects + Source Code

35 Awesome Frontend Projects + Source Code

7
Comments
3 min read
Stop Writing !important in your CSS Code, and Do This Instead!

Stop Writing !important in your CSS Code, and Do This Instead!

4
Comments 2
3 min read
How To Use CSS Contain Property To Optimize Browsers

How To Use CSS Contain Property To Optimize Browsers

2
Comments 1
15 min read
Mastercard

Mastercard

6
Comments
1 min read
Creating an Interactive Scroll Page Progress Bar with CSS to Enhance User Engagement

Creating an Interactive Scroll Page Progress Bar with CSS to Enhance User Engagement

7
Comments 4
5 min read
How to create an image editor using cropper.js

How to create an image editor using cropper.js

Comments
8 min read
The New Tailwind Plugin You'll Want On Every Responsive Project

The New Tailwind Plugin You'll Want On Every Responsive Project

6
Comments
1 min read
Yet Another Newsletter LOL: IMHO

Yet Another Newsletter LOL: IMHO

9
Comments
4 min read
CSS Tip: learn CSS the easy way!

CSS Tip: learn CSS the easy way!

127
Comments 7
3 min read
Animate a hole mask on SVG: can't be hard, right?

Animate a hole mask on SVG: can't be hard, right?

1
Comments
4 min read
CSS Battle 22

CSS Battle 22

Comments
2 min read
Three JS Examples : 8. Three JS SPACE GLOBE Animation

Three JS Examples : 8. Three JS SPACE GLOBE Animation

12
Comments
1 min read
Building react component with styled-components

Building react component with styled-components

2
Comments
3 min read
Create a Dynamic Gradient Color Generator with HTML, CSS, and JavaScript

Create a Dynamic Gradient Color Generator with HTML, CSS, and JavaScript

1
Comments
4 min read
Chess (for HTML and CSS beginners)

Chess (for HTML and CSS beginners)

1
Comments
1 min read
Hugo- The Best Static Site Generator

Hugo- The Best Static Site Generator

3
Comments
2 min read
Optimizing CSS Transition Animations with Animate CSS Grid

Optimizing CSS Transition Animations with Animate CSS Grid

Comments
4 min read
CSS Display Property: Exploring Different Values And Their Effects

CSS Display Property: Exploring Different Values And Their Effects

Comments
27 min read
17 Dreadful Website Redesign Mistakes To Avoid In 2023

17 Dreadful Website Redesign Mistakes To Avoid In 2023

8
Comments 5
6 min read
Professional ways to center a div(2)

Professional ways to center a div(2)

Comments
1 min read
Upgrading our CSS habits: aspect-ratio

Upgrading our CSS habits: aspect-ratio

6
Comments
1 min read
Server Side Rendering a Blog with Web Components

Server Side Rendering a Blog with Web Components

19
Comments 3
37 min read
A Complete Guide To CSS Headers

A Complete Guide To CSS Headers

Comments 1
22 min read
Building a Custom QR Code Generator with qrcode.js and JavaScript

Building a Custom QR Code Generator with qrcode.js and JavaScript

Comments
7 min read
Mastering CSS Sizing: A Guide to Responsive Design

Mastering CSS Sizing: A Guide to Responsive Design

6
Comments 2
5 min read
Animation -24 : Paper rotating CSS loader

Animation -24 : Paper rotating CSS loader

6
Comments
1 min read
Understanding CSS Min(), Max(), and Clamp() Functions

Understanding CSS Min(), Max(), and Clamp() Functions

9
Comments 1
8 min read
CSS Specificity: A Key to Writing Efficient CSS Code

CSS Specificity: A Key to Writing Efficient CSS Code

3
Comments 1
2 min read
Costly CSS Properties and How to Optimize Them

Costly CSS Properties and How to Optimize Them

105
Comments 6
3 min read
Doing it Wrong #1: Using CSS to Render Content

Doing it Wrong #1: Using CSS to Render Content

1
Comments 1
4 min read
Top 5 Best Javascript Icons Libraries 🔥

Top 5 Best Javascript Icons Libraries 🔥

13
Comments 1
1 min read
Build a custom palette using color-mix() in TailwindCSS

Build a custom palette using color-mix() in TailwindCSS

3
Comments 1
8 min read
loading...