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.
Building a Headroom-Style Header in Svelte

Building a Headroom-Style Header in Svelte

56
Comments 7
7 min read
Material dialog with CSS Animation

Material dialog with CSS Animation

8
Comments
3 min read
Detecting Hover and Touch in CSS and JS

Detecting Hover and Touch in CSS and JS

8
Comments 2
1 min read
Add & Remove a class

Add & Remove a class

4
Comments
1 min read
Two media queries you should care about

Two media queries you should care about

128
Comments 15
2 min read
Build a Pokedex with Vanilla JavaScript - Part 2

Build a Pokedex with Vanilla JavaScript - Part 2

26
Comments
7 min read
DUOTONE

DUOTONE

8
Comments 1
1 min read
TIL: The paint order of SVG elements and their stroke and fill is configurable

TIL: The paint order of SVG elements and their stroke and fill is configurable

10
Comments 1
1 min read
How to make menus with CSS—no JavaScript or Bootstrap required!

How to make menus with CSS—no JavaScript or Bootstrap required!

130
Comments 5
14 min read
Text Based Logo

Text Based Logo

8
Comments
1 min read
Responsive Content Filter JavaScript

Responsive Content Filter JavaScript

10
Comments
1 min read
CSS Grid: illustrated introduction

CSS Grid: illustrated introduction

1592
Comments 21
12 min read
How to fix a footer at the bottom of the page

How to fix a footer at the bottom of the page

8
Comments
3 min read
My Top Five FrontEnd VSCode Plugins

My Top Five FrontEnd VSCode Plugins

14
Comments 2
2 min read
Maintaining an alternating pattern across a responsive grid

Maintaining an alternating pattern across a responsive grid

20
Comments 1
6 min read
What do you find the most difficult with CSS?

What do you find the most difficult with CSS?

4
Comments 23
1 min read
Breaking the CSS stigma: my step-by-step CSS cheat sheet.

Breaking the CSS stigma: my step-by-step CSS cheat sheet.

309
Comments 16
4 min read
An Incredibly Easy Way to Manage Layers in SCSS

An Incredibly Easy Way to Manage Layers in SCSS

59
Comments 4
2 min read
A Responsive Modal With Flexbox and No Media Queries

A Responsive Modal With Flexbox and No Media Queries

90
Comments 4
5 min read
The Mysterious 'Owl' (*+*)

The Mysterious 'Owl' (*+*)

78
Comments 7
3 min read
3 simple steps to add dark mode support to your DEV static blog generated via Stackbit

3 simple steps to add dark mode support to your DEV static blog generated via Stackbit

40
Comments 4
3 min read
CSS white-space Property Explained

CSS white-space Property Explained

39
Comments 1
2 min read
Web-Safe Fonts and Font Fallbacks

Web-Safe Fonts and Font Fallbacks

11
Comments
3 min read
Margin vs Padding in CSS Explained

Margin vs Padding in CSS Explained

54
Comments 3
2 min read
How to write reusable CSS with SASS

How to write reusable CSS with SASS

93
Comments
9 min read
How to use CSS variables with Sass Mixins

How to use CSS variables with Sass Mixins

18
Comments 1
5 min read
Toggle content on click without javascript (Yes you read that right)

Toggle content on click without javascript (Yes you read that right)

36
Comments 8
2 min read
10 Satisfying CSS Animations for relaxation 💆

10 Satisfying CSS Animations for relaxation 💆

445
Comments 23
2 min read
Making sense of units in CSS Media Queries (in the year 2019)

Making sense of units in CSS Media Queries (in the year 2019)

50
Comments
12 min read
ECMA Who? ECMA What? You should get that checked out!

ECMA Who? ECMA What? You should get that checked out!

6
Comments
3 min read
Finch Front-End Day 1 Write-Up: Layout, Optimisation, and Organisation

Finch Front-End Day 1 Write-Up: Layout, Optimisation, and Organisation

4
Comments
6 min read
Monochromey CSS

Monochromey CSS

63
Comments 4
2 min read
Refactoring CSS

Refactoring CSS

45
Comments
8 min read
It's a bit like BEM

It's a bit like BEM

7
Comments
2 min read
How to make a simple, extensible button - HTML/CSS

How to make a simple, extensible button - HTML/CSS

13
Comments
2 min read
Writing-mode

Writing-mode

5
Comments
1 min read
Color your title underline with the linear gradient

Color your title underline with the linear gradient

4
Comments
1 min read
Reusing CSS With Styled Components

Reusing CSS With Styled Components

44
Comments 6
2 min read
How to fix elements shifting issue in bold on hover

How to fix elements shifting issue in bold on hover

16
Comments 3
2 min read
Generating Knockout Text with the CSS Paint (Houdini) API

Generating Knockout Text with the CSS Paint (Houdini) API

11
Comments
6 min read
Add dark mode to your site with this short CSS trick

Add dark mode to your site with this short CSS trick

554
Comments 9
1 min read
How do you count your lines of code?

How do you count your lines of code?

7
Comments 4
1 min read
My first Open Source contribution

My first Open Source contribution

58
Comments 2
5 min read
Images Larger than Container CSS

Images Larger than Container CSS

20
Comments 4
1 min read
Bulma - The Most Underrated Framework of the CSS Framework Era

Bulma - The Most Underrated Framework of the CSS Framework Era

197
Comments 56
2 min read
Arrested (Web) Development - Part 1

Arrested (Web) Development - Part 1

60
Comments 2
6 min read
I learned 3 things using CSS Grid + Flexbox for a standard site.

I learned 3 things using CSS Grid + Flexbox for a standard site.

54
Comments 6
3 min read
CSS3 - Part 7 of Frontend Development Series

CSS3 - Part 7 of Frontend Development Series

14
Comments 2
2 min read
How To Create a WordPress Shortcode for flickr Albums

How To Create a WordPress Shortcode for flickr Albums

9
Comments
9 min read
Responsive UI Card

Responsive UI Card

8
Comments
1 min read
4 useful snippets for tailwindcss

4 useful snippets for tailwindcss

99
Comments
3 min read
Items in, Columns out | Playing with CSS Grid

Items in, Columns out | Playing with CSS Grid

14
Comments
2 min read
CSS Responsive Hotspots

CSS Responsive Hotspots

10
Comments
2 min read
Demystifying CSS ( A Pratical Approach ) Part. I

Demystifying CSS ( A Pratical Approach ) Part. I

7
Comments
2 min read
CSS Quickies: CSS Variables - Or how you create a 🌞white/🌑dark theme easily

CSS Quickies: CSS Variables - Or how you create a 🌞white/🌑dark theme easily

487
Comments 25
7 min read
Clean your code from HTML tags with Styled Components magic

Clean your code from HTML tags with Styled Components magic

58
Comments 2
3 min read
15 HTML and CSS Projects to sharpen Your Skills

15 HTML and CSS Projects to sharpen Your Skills

406
Comments 15
3 min read
Cards

Cards

15
Comments 5
1 min read
JSitor Mobile App, an alternative of JSFiddle, CodePen and JSBin

JSitor Mobile App, an alternative of JSFiddle, CodePen and JSBin

13
Comments 8
2 min read
MAKING LAYOUTS WITH CSS (Pt c) - Part 5 of Frontend Development Series

MAKING LAYOUTS WITH CSS (Pt c) - Part 5 of Frontend Development Series

64
Comments
4 min read
loading...