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.
Dark Theme Toggle - How to create a dark mode switch in a few lines of JS + CSS

Dark Theme Toggle - How to create a dark mode switch in a few lines of JS + CSS

11
Comments
2 min read
CSS Grid: grid-items

CSS Grid: grid-items

11
Comments
3 min read
Our experience in creating HTML email templates

Our experience in creating HTML email templates

6
Comments 2
3 min read
Why CSS-in-JS?

Why CSS-in-JS?

10
Comments 1
3 min read
Drawing with CSS: Anime Character

Drawing with CSS: Anime Character

85
Comments 9
6 min read
CSS Animation: Making buttons pop

CSS Animation: Making buttons pop

4
Comments 1
4 min read
Fixing NextJS <Image> covering other components

Fixing NextJS <Image> covering other components

7
Comments
4 min read
Geeking-out on SVG Graphics part-six

Geeking-out on SVG Graphics part-six

Comments
4 min read
How to setup Tailwind CSS 🚀🔥

How to setup Tailwind CSS 🚀🔥

11
Comments
2 min read
How do websites work? Super Simplified Explanation

How do websites work? Super Simplified Explanation

2
Comments 2
2 min read
Reducing JS code in your Vue bundle

Reducing JS code in your Vue bundle

10
Comments 1
2 min read
When <br> is not enough – A tour of 11 HTML and CSS line break examples

When <br> is not enough – A tour of 11 HTML and CSS line break examples

2
Comments
4 min read
The story of the custom scrollbar using CSS

The story of the custom scrollbar using CSS

16
Comments 4
5 min read
Website templates

Website templates

52
Comments 24
1 min read
[CSS trick] Create a Linear Gradient Text

[CSS trick] Create a Linear Gradient Text

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