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.
Auto hiding a toast message in Angular

Auto hiding a toast message in Angular

8
Comments
8 min read
CSS shorthands: should you write them?

CSS shorthands: should you write them?

7
Comments 2
3 min read
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
Light and dark mode in just 14 lines of CSS

Light and dark mode in just 14 lines of CSS

579
Comments 31
3 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
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
👋 Sign in for the ability to sort posts by relevant, latest, or top.