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.
Accessibility of Interfaces with the :focus-visible Pseudo-Class

Accessibility of Interfaces with the :focus-visible Pseudo-Class

Comments
3 min read
Adaptive Data Tables in Pure CSS

Adaptive Data Tables in Pure CSS

Comments
3 min read
How to Create an Animated Floating Hearts Effect (Pure CSS & HTML)

How to Create an Animated Floating Hearts Effect (Pure CSS & HTML)

Comments
3 min read
Creating Tooltips Without Using JavaScript

Creating Tooltips Without Using JavaScript

Comments
3 min read
The CSS Box Model: Margin, Padding, Border, and box-sizing Explained

The CSS Box Model: Margin, Padding, Border, and box-sizing Explained

Comments
3 min read
CSS Color Formats: Hex, RGB, HSL, and When to Use Each

CSS Color Formats: Hex, RGB, HSL, and When to Use Each

Comments
4 min read
CSS Gradients: A Complete Guide to Linear, Radial, and Conic Gradients

CSS Gradients: A Complete Guide to Linear, Radial, and Conic Gradients

Comments
3 min read
CSS Custom Properties: The Modern Way to Manage Design Tokens

CSS Custom Properties: The Modern Way to Manage Design Tokens

Comments
3 min read
Is Tailwind Still Relevant—or Just Popular

Is Tailwind Still Relevant—or Just Popular

2
Comments
2 min read
The Power of CSS :has() and :is() Pseudo-classes

The Power of CSS :has() and :is() Pseudo-classes

Comments
3 min read
I built a CSS selector engine that uses BigInt bitmasks and a dual Bloom bucket index instead of DOM traversal — AQE is now on npm

I built a CSS selector engine that uses BigInt bitmasks and a dual Bloom bucket index instead of DOM traversal — AQE is now on npm

1
Comments
2 min read
The Perfect Dark Theme with CSS Variables

The Perfect Dark Theme with CSS Variables

Comments
4 min read
The Perfect Text Transfer: text-wrap balance and pretty

The Perfect Text Transfer: text-wrap balance and pretty

Comments
4 min read
Anchor Positioning in CSS

Anchor Positioning in CSS

Comments
4 min read
Advanced Use of the :has() Pseudo-Class for Creating UI Logic

Advanced Use of the :has() Pseudo-Class for Creating UI Logic

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