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 Wanted a Floating Search Bar. The Fix Was a Few Lines of CSS (After Hours of Arguing With AI)

I Wanted a Floating Search Bar. The Fix Was a Few Lines of CSS (After Hours of Arguing With AI)

Comments
4 min read
Playwright fullPage screenshots return one viewport when the page scrolls inside a container

Playwright fullPage screenshots return one viewport when the page scrolls inside a container

Comments
9 min read
Favicon 404s: the tiny missing file that made Google show a generic globe

Favicon 404s: the tiny missing file that made Google show a generic globe

Comments
3 min read
Meu primeiro portfólio como estudante de Análise e Desenvolvimento de Sistemas

Meu primeiro portfólio como estudante de Análise e Desenvolvimento de Sistemas

Comments
2 min read
tidy-typography.css is a reset that only touches the text

tidy-typography.css is a reset that only touches the text

1
Comments
4 min read
CSS Pseudo-Classes & Pseudo-Elements: Features That Make Websites Feel Interactive

CSS Pseudo-Classes & Pseudo-Elements: Features That Make Websites Feel Interactive

Comments
9 min read
FSCSS @define: mixins that compile to boring, good CSS

FSCSS @define: mixins that compile to boring, good CSS

1
Comments
3 min read
Container Queries and Focus Management: Building Resilient Components with TailwindCSS v4

Container Queries and Focus Management: Building Resilient Components with TailwindCSS v4

Comments
3 min read
Playwright page.pdf(): missing backgrounds, a 0.7 pt header and @page sizes, each measured

Playwright page.pdf(): missing backgrounds, a 0.7 pt header and @page sizes, each measured

Comments
7 min read
dx-styles 1.5.0: half the build time, and a benchmark you can rerun

dx-styles 1.5.0: half the build time, and a benchmark you can rerun

Comments
7 min read
A Dropdown With z-index: 9999 That Still Hides Behind the Page

A Dropdown With z-index: 9999 That Still Hides Behind the Page

Comments
5 min read
A directory in our repo lived for one hour and fifty-four minutes, and took the stylesheet's only reduced-motion rule with it when it went

A directory in our repo lived for one hour and fifty-four minutes, and took the stylesheet's only reduced-motion rule with it when it went

Comments
6 min read
@starting-style: animate popovers in and out

@starting-style: animate popovers in and out

Comments
5 min read
7 modern CSS units your LLM keeps ignoring

7 modern CSS units your LLM keeps ignoring

1
Comments
3 min read
ai-ui.fscss: shell, messages, prompt, and stream — without a UI kit runtime

ai-ui.fscss: shell, messages, prompt, and stream — without a UI kit runtime

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.