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.
Modern HTML5 Boilerplate

Modern HTML5 Boilerplate

10
Comments 3
1 min read
Building a portfolio project

Building a portfolio project

1
Comments
1 min read
You don't need a CSS pre-processor

You don't need a CSS pre-processor

4
Comments 3
3 min read
The HTML I Wish I Had (pt. 3)

The HTML I Wish I Had (pt. 3)

Comments
1 min read
2024 CSS Buttons: Crafting a Stunning Aurora Glow Button in Just 4 Easy Steps

2024 CSS Buttons: Crafting a Stunning Aurora Glow Button in Just 4 Easy Steps

Comments
2 min read
CSS Positioning: Your Ultimate Guide to Element Placement

CSS Positioning: Your Ultimate Guide to Element Placement

6
Comments
6 min read
Some new features CSS in 2024

Some new features CSS in 2024

38
Comments 20
3 min read
10 CSS Code Snippets Every UI Developer Should Know

10 CSS Code Snippets Every UI Developer Should Know

113
Comments 16
7 min read
How to Build Your First Web Application: The Beginner's Guide to Bringing Ideas into Reality

How to Build Your First Web Application: The Beginner's Guide to Bringing Ideas into Reality

3
Comments 2
4 min read
Why SCSS is Better for Writing CSS

Why SCSS is Better for Writing CSS

Comments 2
2 min read
A CSS razor

A CSS razor

1
Comments
5 min read
Understanding the Shadow DOM and When to Use It

Understanding the Shadow DOM and When to Use It

Comments 2
3 min read
How to Create a Stylish Loader for Your Website

How to Create a Stylish Loader for Your Website

Comments
2 min read
CSS Box Model Background and Border Quiz

CSS Box Model Background and Border Quiz

Comments
1 min read
Working with text in CSS: some issues & solutions

Working with text in CSS: some issues & solutions

1
Comments 2
3 min read
A Simple, mostly CSS code editor

A Simple, mostly CSS code editor

1
Comments 1
4 min read
The Hidden CSS Tricks That Facebook Developers Actually Use

The Hidden CSS Tricks That Facebook Developers Actually Use

3
Comments
3 min read
10 Bootstrap Tricks Every UI Developer Should Know

10 Bootstrap Tricks Every UI Developer Should Know

1
Comments
7 min read
Simplifying CSS animations with the display and size properties

Simplifying CSS animations with the display and size properties

5
Comments
10 min read
Design CSS Like a Pro: Beyond Tailwind CSS and Bootstrap

Design CSS Like a Pro: Beyond Tailwind CSS and Bootstrap

7
Comments
1 min read
Interactive Quiz App with JavaScript

Interactive Quiz App with JavaScript

2
Comments
1 min read
Tailwind CSS Patterns

Tailwind CSS Patterns

2
Comments 1
1 min read
CSS' only-child instead of Conditional Logic

CSS' only-child instead of Conditional Logic

12
Comments 9
2 min read
Social Media Icons with Hover Effects Using HTML and CSS

Social Media Icons with Hover Effects Using HTML and CSS

Comments
2 min read
CSS Masonry Catness

CSS Masonry Catness

3
Comments
4 min read
10 Cool CodePen Demos (September 2024)

10 Cool CodePen Demos (September 2024)

2
Comments
2 min read
Accordion height/max-height animation in Pure CSS

Accordion height/max-height animation in Pure CSS

Comments
4 min read
The Golden Ratio in CSS

The Golden Ratio in CSS

238
Comments 47
3 min read
Tailwind CSS: Customizing Plugins and Directives

Tailwind CSS: Customizing Plugins and Directives

Comments
2 min read
10 Tailwind CSS Hacks Every UI Developer Should Know

10 Tailwind CSS Hacks Every UI Developer Should Know

7
Comments 2
7 min read
Introducing Roseview: The Lightweight UI Framework with Everything You Need, and Nothing You Don’t

Introducing Roseview: The Lightweight UI Framework with Everything You Need, and Nothing You Don’t

1
Comments
2 min read
Understanding CSS Size Units: px, em, rem, %, and More

Understanding CSS Size Units: px, em, rem, %, and More

21
Comments 8
3 min read
Step-by-Step Guide to Light/Dark Mode on Bear Blog

Step-by-Step Guide to Light/Dark Mode on Bear Blog

3
Comments
2 min read
The HTML I Wish I Had (pt. 2)

The HTML I Wish I Had (pt. 2)

Comments
3 min read
A Beginner's Guide to the CSS Box Model

A Beginner's Guide to the CSS Box Model

12
Comments 1
3 min read
Transform HTML Table into Card View Using Nothing But CSS

Transform HTML Table into Card View Using Nothing But CSS

21
Comments 6
4 min read
Bootstrap: Customizing Accordions

Bootstrap: Customizing Accordions

Comments
2 min read
Best CSS Frameworks to Use in React.js

Best CSS Frameworks to Use in React.js

1
Comments
4 min read
🌈 CSS Animations: A Beginner’s Guide to Adding Motion to Your Website 🌈

🌈 CSS Animations: A Beginner’s Guide to Adding Motion to Your Website 🌈

2
Comments
3 min read
Took Part in the "VOICE CONTROL REPLICA" Challenge on UIVERSE.IO

Took Part in the "VOICE CONTROL REPLICA" Challenge on UIVERSE.IO

11
Comments 2
1 min read
Designing Better Tables: Using Popovers for Extra Data

Designing Better Tables: Using Popovers for Extra Data

43
Comments 10
4 min read
10 Component Libraries You Must Know To Use Shadcn UI!

10 Component Libraries You Must Know To Use Shadcn UI!

19
Comments
2 min read
5 Essential HTML and CSS Tricks to Ditch JavaScript

5 Essential HTML and CSS Tricks to Ditch JavaScript

100
Comments 15
7 min read
Can I Use CLI - Compatibility within terminal's reach

Can I Use CLI - Compatibility within terminal's reach

2
Comments 1
2 min read
Simple Pop-Up Newsletter Project

Simple Pop-Up Newsletter Project

1
Comments
1 min read
CSS Grid Best Practices: Guide With Examples

CSS Grid Best Practices: Guide With Examples

1
Comments
11 min read
CSS 新属性Field-sizing,可以使input 、 textarea和select自适应其内容

CSS 新属性Field-sizing,可以使input 、 textarea和select自适应其内容

Comments
1 min read
2024:How to Center a Div in CSS

2024:How to Center a Div in CSS

Comments 1
1 min read
How to Change Text Color in CSS: Everything You Wanted to Know 🎨

How to Change Text Color in CSS: Everything You Wanted to Know 🎨

Comments
1 min read
CSS Portrait

CSS Portrait

2
Comments
1 min read
Responsive Hamburger Menu: A Fun Learning Experience!

Responsive Hamburger Menu: A Fun Learning Experience!

Comments
1 min read
What is Tailwind CSS?

What is Tailwind CSS?

1
Comments
2 min read
Building a Simple Responsive Layout with Flexbox for Beginners

Building a Simple Responsive Layout with Flexbox for Beginners

21
Comments 4
3 min read
19 Frontend Projects 🎨

19 Frontend Projects 🎨

4
Comments
1 min read
Dark Mode Toggle in HTML Web Components

Dark Mode Toggle in HTML Web Components

14
Comments 3
4 min read
Using CSS Variables for Theme Customisation

Using CSS Variables for Theme Customisation

6
Comments
3 min read
Mastering Web Performance: Understanding the Pixel Pipeline

Mastering Web Performance: Understanding the Pixel Pipeline

1
Comments
3 min read
🍏 Jony Ive Interview, Hyper-Responsive Components & Git Tricks (5-min read)

🍏 Jony Ive Interview, Hyper-Responsive Components & Git Tricks (5-min read)

Comments
5 min read
How to Fix Tailwind CSS Not Working in Next.js

How to Fix Tailwind CSS Not Working in Next.js

1
Comments
2 min read
Configuring Tailwind as a Design System

Configuring Tailwind as a Design System

Comments
8 min read
loading...