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.
Exploring CSS Grids

Exploring CSS Grids

13
Comments
3 min read
How to truncate multi-line string with Pure CSS

How to truncate multi-line string with Pure CSS

13
Comments
1 min read
Use CSS to automatically enable dark mode in your web app based on system settings

Use CSS to automatically enable dark mode in your web app based on system settings

91
Comments 5
1 min read
The wondrous world of CSS counters

The wondrous world of CSS counters

19
Comments 1
10 min read
A quick introduction to progressive enhancement

A quick introduction to progressive enhancement

14
Comments
7 min read
CSS-only low-poly Earth Globe

CSS-only low-poly Earth Globe

8
Comments
1 min read
100 Days of CSS - Day 72 / Pac-Man

100 Days of CSS - Day 72 / Pac-Man

36
Comments 8
1 min read
How to Add Custom CSS & JavaScript Files to an ExpressJS App

How to Add Custom CSS & JavaScript Files to an ExpressJS App

22
Comments
2 min read
Popup with Pure CSS

Popup with Pure CSS

69
Comments 10
3 min read
Less Than 10 Lines of CSS to Create a Responsive Nav Menu

Less Than 10 Lines of CSS to Create a Responsive Nav Menu

9
Comments
2 min read
#CodepenChallenge Orange and Blue: Flat-style Company Card

#CodepenChallenge Orange and Blue: Flat-style Company Card

4
Comments
1 min read
WordPress Fallback CSS

WordPress Fallback CSS

8
Comments 1
2 min read
How to justify-content with flexbox

How to justify-content with flexbox

2
Comments
1 min read
The Super Fun Text-Truncation-from-the-Left Adventures of Scooter and Boots

The Super Fun Text-Truncation-from-the-Left Adventures of Scooter and Boots

7
Comments
2 min read
Responsive Off-Canvas Menu

Responsive Off-Canvas Menu

8
Comments 3
1 min read
Essential Frontend Resources in 2019

Essential Frontend Resources in 2019

735
Comments 31
3 min read
SOLVED:4 column footer with plain css

SOLVED:4 column footer with plain css

6
Comments
1 min read
My favorite CSS hack

My favorite CSS hack

3280
Comments 95
2 min read
Dark mode in HTML email: everything you need to know.

Dark mode in HTML email: everything you need to know.

57
Comments 1
6 min read
Private vs. Public (Part 3)

Private vs. Public (Part 3)

13
Comments 1
4 min read
Css Gradients Generator

Css Gradients Generator

5
Comments 1
1 min read
Overview (Part 1)

Overview (Part 1)

11
Comments
4 min read
Namespaces (Part 2)

Namespaces (Part 2)

6
Comments
3 min read
I Love These CSS Tricks - Manage your CSS Much Better

I Love These CSS Tricks - Manage your CSS Much Better

113
Comments 4
2 min read
The perfect responsive menu

The perfect responsive menu

65
Comments 5
3 min read
Creating Avatars With Colors Using The Modulus

Creating Avatars With Colors Using The Modulus

49
Comments 7
7 min read
How I structure my CSS

How I structure my CSS

10
Comments
2 min read
Prevent the need to zoom into inputs with CSS

Prevent the need to zoom into inputs with CSS

8
Comments
2 min read
Two ways to create an image with a colour overlay in CSS

Two ways to create an image with a colour overlay in CSS

157
Comments 24
4 min read
September’s CodePen challenges

September’s CodePen challenges

9
Comments
3 min read
Using Comments in Sass

Using Comments in Sass

13
Comments 1
3 min read
How I Structure my SCSS Projects to Keep Myself from Going Insane

How I Structure my SCSS Projects to Keep Myself from Going Insane

123
Comments 5
4 min read
CSS Quickies: the quotes property and the q HTML tag

CSS Quickies: the quotes property and the q HTML tag

105
Comments 8
3 min read
How to get Sizing in CSS right for Accessibility

How to get Sizing in CSS right for Accessibility

10
Comments 2
3 min read
Listening to Events DOM

Listening to Events DOM

10
Comments
1 min read
CSS Challenges #1 | Breadcrumbs

CSS Challenges #1 | Breadcrumbs

118
Comments 17
1 min read
Building a swipeable card stack with interact.js and Svelte

Building a swipeable card stack with interact.js and Svelte

9
Comments 1
7 min read
Can I get a review of my portfolio

Can I get a review of my portfolio

15
Comments 11
1 min read
Images with hoverable Overlays

Images with hoverable Overlays

13
Comments 2
3 min read
Building Tailwind CSS in an Angular CLI project

Building Tailwind CSS in an Angular CLI project

78
Comments 21
6 min read
Svelte - Simplicity is best.

Svelte - Simplicity is best.

57
Comments 6
3 min read
Sticky Footer using Tailwind CSS

Sticky Footer using Tailwind CSS

87
Comments 11
2 min read
Friday Frontend: Vanilla is Powerful Edition

Friday Frontend: Vanilla is Powerful Edition

71
Comments
5 min read
Using CSS Custom properties (variables)

Using CSS Custom properties (variables)

44
Comments 4
4 min read
New Project - CSS Flex Generator

New Project - CSS Flex Generator

15
Comments 2
1 min read
Useful links about Less (CSS)

Useful links about Less (CSS)

13
Comments
11 min read
CSS Toggles/Switches

CSS Toggles/Switches

43
Comments 6
3 min read
Auto dark theme for the website

Auto dark theme for the website

8
Comments
3 min read
Friday Frontend: Small Things at Scale Edition

Friday Frontend: Small Things at Scale Edition

8
Comments
4 min read
🎹 Optimising CSS Delivery

🎹 Optimising CSS Delivery

23
Comments 2
6 min read
Understanding Javascript Array Series IV - Array Loops & Iteration Part I

Understanding Javascript Array Series IV - Array Loops & Iteration Part I

37
Comments 10
3 min read
Backshot Tactics - A Multiplayer Game for js13kGames

Backshot Tactics - A Multiplayer Game for js13kGames

24
Comments 1
5 min read
SpaceInvaders with only JavaScript and CSS!

SpaceInvaders with only JavaScript and CSS!

96
Comments 21
1 min read
Smart web design. Part II: Customizable color theme in 10 minutes đŸŠœâ±

Smart web design. Part II: Customizable color theme in 10 minutes đŸŠœâ±

68
Comments 2
3 min read
CSS Quickies: @supports

CSS Quickies: @supports

141
Comments 9
3 min read
Implementing Flexbox with SCSS mixins

Implementing Flexbox with SCSS mixins

10
Comments
1 min read
CSS Shapes

CSS Shapes

466
Comments 8
4 min read
3 easy-to-apply CSS improvements that you can use in your project right now

3 easy-to-apply CSS improvements that you can use in your project right now

92
Comments 5
2 min read
Can you help unblock dark mode on Stack Overflow? 🌒

Can you help unblock dark mode on Stack Overflow? 🌒

6
Comments
1 min read
CSS :focus-within pseudo-class

CSS :focus-within pseudo-class

42
Comments
1 min read
loading...