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.
No Webfonts, No Frameworks: The Performance Budget I Keep on My Tool Pages

No Webfonts, No Frameworks: The Performance Budget I Keep on My Tool Pages

1
Comments
3 min read
`@page { size: 4in 6in }` is not enough: what actually decides whether a 4 6 slip prints correctly

`@page { size: 4in 6in }` is not enough: what actually decides whether a 4 6 slip prints correctly

Comments
4 min read
The Fonts app.onepassapps.com Ships: 7 WOFF2 Files, 218,512 Bytes, and the One Your Browser Actually Downloads

The Fonts app.onepassapps.com Ships: 7 WOFF2 Files, 218,512 Bytes, and the One Your Browser Actually Downloads

Comments
4 min read
Three CSS rules for Arabic RTL: one was a no-op, one reversed the reversal

Three CSS rules for Arabic RTL: one was a no-op, one reversed the reversal

Comments
8 min read
I was sure it was a memory leak. It was a glowing border using 131 % of a CPU core

I was sure it was a memory leak. It was a glowing border using 131 % of a CPU core

Comments
4 min read
How to animate a lightbox out of a cropped thumbnail

How to animate a lightbox out of a cropped thumbnail

Comments
3 min read
The Lemmings demo makes each line of text a platform

The Lemmings demo makes each line of text a platform

2
Comments
4 min read
Build a spotlight image reveal with CSS masks

Build a spotlight image reveal with CSS masks

1
Comments 2
4 min read
`color-scheme: only` Is Not a Value, and the Line You Are About to Ship Does Nothing

`color-scheme: only` Is Not a Value, and the Line You Are About to Ship Does Nothing

Comments
3 min read
Your CSS gradient has a muddy middle, and it is not your fault

Your CSS gradient has a muddy middle, and it is not your fault

Comments
3 min read
Highlighting text without wrapping it in spans: the CSS Custom Highlight API

Highlighting text without wrapping it in spans: the CSS Custom Highlight API

1
Comments
7 min read
Our copy is British, our code is American, and the border runs exactly along the identifier

Our copy is British, our code is American, and the border runs exactly along the identifier

Comments
4 min read
Your Web Fonts Are Slowing Your Site Down — Here's How to Fix It

Your Web Fonts Are Slowing Your Site Down — Here's How to Fix It

Comments
2 min read
Image to Base64: When Inlining an Image Helps, When It Hurts, and How to Do It

Image to Base64: When Inlining an Image Helps, When It Hurts, and How to Do It

Comments 1
5 min read
We built FontForThat: find free font alternatives and try them with your own text

We built FontForThat: find free font alternatives and try them with your own text

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