Menu

#DevtoCss

389 posts

Feed·
19 of 389 posts
SVGO Deleted the ID My CSS Needed (and the One-Line Fix)
📰
0Read More

SVGO Deleted the ID My CSS Needed (and the One-Line Fix)

DEV Community: css·PerfectVector·about 10 hours ago
#a9UFdS5y
#devtocss#devto#dev#badge#svgo

This post was drafted with AI assistance and reviewed by the PerfectVector team. SVGO made our badge...

15s
Free stand-ins for Calibri, Segoe UI and Helvetica, measured, and the CSS that stops the jump
📰
0Read More

Free stand-ins for Calibri, Segoe UI and Helvetica, measured, and the CSS that stops the jump

DEV Community: css·PYXL·about 10 hours ago
#sr49gMEM
#devtocss#devto#dev#font#fallback

Calibri, Segoe UI and Helvetica turn up in a lot of mockups, and none of them can ship as a web font....

15s
Stop exporting your design tokens as JSON files
📰
0Read More

Stop exporting your design tokens as JSON files

DEV Community: css·Alexander·about 10 hours ago
#LqcdWy1A
#devtocss#devto#dev#json#need

A frontend developer pinged me on Slack last Thursday. He was trying to style a custom dropdown...

15s
Instant Dark/light mode Switcher with pure Vanilla JS & CSS
📰
0Read More

Instant Dark/light mode Switcher with pure Vanilla JS & CSS

DEV Community: css·yomna jarray·about 10 hours ago
#DjlgqbF6
#devtocss#devto#dev#dark#toggle

I built a lightweight, responsive Dark/Light mode toggle component using pure HTML, CSS custom...

15s
I Built a Sleek Pomodoro Timer with Pure Vanilla JS & Web Audio API (No External Audio Files!)
📰
0Read More

I Built a Sleek Pomodoro Timer with Pure Vanilla JS & Web Audio API (No External Audio Files!)

DEV Community: css·yomna jarray·about 10 hours ago
#AfYyG0i5
#devtocss#devto#dev#built#focus

Hey everyone! 👋 Following up on my last UI component project, I just built FocusPulse—a...

15s
How I keep HEX, RGB, HSL, and WCAG contrast straight (and the free toolkit I built for it)
📰
0Read More

How I keep HEX, RGB, HSL, and WCAG contrast straight (and the free toolkit I built for it)

DEV Community: css·xiangqian yao·about 10 hours ago
#z5IPJBci
#devtocss#devto#dev#showdev#contrast

How I keep HEX, RGB, HSL, and WCAG contrast straight (and the free toolkit I built for...

15s
CSS text-overflow Now Takes Custom Text in Chrome 157. Here's What Works (and What Doesn't)
📰
0Read More

CSS text-overflow Now Takes Custom Text in Chrome 157. Here's What Works (and What Doesn't)

DEV Community: css·Hannan Shoukat·about 10 hours ago
#Tzjw5aYu
#devtocss#devto#dev#line#overflow

Chrome 157 went stable on November 3, and one small CSS change in it is surprisingly handy:...

15s
Stop Guessing Text Colors. Chrome DevTools Can Pick an Accessible One for You
📰
0Read More

Stop Guessing Text Colors. Chrome DevTools Can Pick an Accessible One for You

DEV Community: css·Hannan Shoukat·about 10 hours ago
#S9Xj4GiE
#devtocss#devto#dev#contrast#color

Light grey text on white looks clean in a design file. It's also one of the most common accessibility...

15s
I Built a 100% Client-Side 8-in-1 DevTools Suite (Zero Latency & Full Privacy)
📰
0Read More

I Built a 100% Client-Side 8-in-1 DevTools Suite (Zero Latency & Full Privacy)

DEV Community: css·Musharib Khalid·about 22 hours ago
#tmgjkOaM
#devtocss#devto#dev#tools#json

Hey DEV Community! 👋 As web developers, we constantly use online formatters, decoders, and...

15s
Tailwind CSS RTL in Next.js: logical utilities, the rtl: variant and what must never flip
📰
0Read More

Tailwind CSS RTL in Next.js: logical utilities, the rtl: variant and what must never flip

DEV Community: css·Aniq UI·about 22 hours ago
#eJRHvHXo
#devtocss#devto#dev#arabic#right

We ship every Next.js template in English and Arabic, with a real right-to-left layout. After doing...

15s
Why a CSS rotate with will-change: transform makes images and text blurry
🖼️
0Read More

Why a CSS rotate with will-change: transform makes images and text blurry

DEV Community: css·Mohamed Gado·about 22 hours ago
#1o2Ie5he
#devtocss#devto#dev#transform#pixels

My screenshots looked pixelated though the files were sharp. A 0.9deg rotate under will-change: transform was the cause. The CSS before and after.

15s
Use @layer + low-specificity selectors so site overrides don’t turn into selector wars
📰
0Read More

Use @layer + low-specificity selectors so site overrides don’t turn into selector wars

DEV Community: css·Chris Rodriguez·about 22 hours ago
#DIs316TT
#devtocss#devto#dev#id#ids

Use cascade layers to keep a component library in one named layer and site overrides in a later layer, then keep selectors low-specificity with :where() so normal overrides stay simple and testable.

15s
Architecting Enterprise Design Systems & Design Token Pipelines (Tailwind, Figma & SVG Icons)
📰
0Read More

Architecting Enterprise Design Systems & Design Token Pipelines (Tailwind, Figma & SVG Icons)

DEV Community: css·Uchit Chakma·about 22 hours ago
#afEnFtPK
#devtocss#devto#dev#design#color

Architecting Enterprise Design Systems & Design Token Pipelines Building modern web...

15s
What type scale is a site really using? Measuring it from computed font sizes
📰
0Read More

What type scale is a site really using? Measuring it from computed font sizes

DEV Community: css·Casper Tran·about 22 hours ago
#nrfypyQR
#devtocss#devto#dev#ratio#sizes

"Modular scale, ratio 1.25" is a nice thing to put in a design doc. When you inherit a site, or want...

15s
Cache-Busting Static Assets with ?v=: So Visitors Actually Get the Fix
📰
0Read More

Cache-Busting Static Assets with ?v=: So Visitors Actually Get the Fix

DEV Community: css·Mobeen Ahmed·about 22 hours ago
#7N6oeVKn
#devtocss#devto#dev#file#version

The most embarrassing bug report I ever got went like this: I fixed a bug, deployed it, tested it...

15s
Stop Cursor and Claude Code From Inventing Colors (A Token + Rules Setup That Sticks)
🖼️
0Read More

Stop Cursor and Claude Code From Inventing Colors (A Token + Rules Setup That Sticks)

DEV Community: css·Muhammad Haseeb Bilal·about 22 hours ago
#Poz2cHTR
#devtocss#devto#dev#color#rules

AI coding tools keep adding new blues, greys and padding values. Here's a small setup of tokens, one rules file and two grep commands that keeps them on your design system.

15s
Haiku with a UX kit: can open rules and minimal code make a small model as accurate as a larger one?
🖼️
0Read More

Haiku with a UX kit: can open rules and minimal code make a small model as accurate as a larger one?

DEV Community: css·MeloLabs.net·about 22 hours ago
#gu0QcqOX
#devtocss#devto#dev#haiku#rules

Summary. We tested whether the combination of a small model (Haiku 5.5), a UX rules data lake with...

15s