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.
I Audited My Own Site's Images. The srcset Reflex Was Wrong for Half of Them.

I Audited My Own Site's Images. The srcset Reflex Was Wrong for Half of Them.

Comments
7 min read
What Is Web Development? A Complete Beginner's Guide

What Is Web Development? A Complete Beginner's Guide

Comments
25 min read
A Full-Page Overlay That Only Covers a Card? Check the Parent for transform

A Full-Page Overlay That Only Covers a Card? Check the Parent for transform

Comments
3 min read
Building a transit map editor in the browser: 45 degree routing, rounded corners and parallel line bundling

Building a transit map editor in the browser: 45 degree routing, rounded corners and parallel line bundling

Comments
5 min read
Why Your Sidebar Icons Look Inconsistent - Even at the Same Size

Why Your Sidebar Icons Look Inconsistent - Even at the Same Size

1
Comments
5 min read
HEX, RGB and HSL Colour Codes Explained (with JavaScript Converters)

HEX, RGB and HSL Colour Codes Explained (with JavaScript Converters)

Comments
2 min read
Invoice PDF page breaks: a row split in half, and the total alone on the last page

Invoice PDF page breaks: a row split in half, and the total alone on the last page

Comments
5 min read
Build an avatar creator with layered SVG and Stimulus

Build an avatar creator with layered SVG and Stimulus

2
Comments 1
4 min read
React 18 escaped the quotes in my <style> tags, and hydration failed on 22 pages

React 18 escaped the quotes in my <style> tags, and hydration failed on 22 pages

Comments 1
3 min read
"What If Your CSS Compiler Could Catch Accessibility Bugs Before Production?"

"What If Your CSS Compiler Could Catch Accessibility Bugs Before Production?"

11
Comments
6 min read
1,021 @font-face rules on one page. Chrome loaded 107 of them.

1,021 @font-face rules on one page. Chrome loaded 107 of them.

Comments
9 min read
FSCSS derived arrays: reverse, indices, and list without chaining

FSCSS derived arrays: reverse, indices, and list without chaining

1
Comments
3 min read
Our whole site is 541 phone screens of scrolling, and the shortest marketing page is a third footer

Our whole site is 541 phone screens of scrolling, and the shortest marketing page is a third footer

2
Comments
5 min read
Safari may darken your site unless you say so

Safari may darken your site unless you say so

Comments
4 min read
Réserver la place d’une image avant son chargement

Réserver la place d’une image avant son chargement

Comments
2 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.