Menu

#Pixels

38 posts

Feed·
20 of 38 posts
Our pages render identically at 1280px and at 4K, and our prose runs 78 characters to the line
📰
0Read More

Our pages render identically at 1280px and at 4K, and our prose runs 78 characters to the line

DEV Community: css·Daniel Pertu·about 22 hours ago
#2eF2NC7S
#devtocss#devto#dev#measure#line

Measuring line length on 76 pages two ways, in characters per rendered line and in ch units of box width. 1,755 paragraphs, a median measure of 78, 11 per cent inside the classic comfort range, and a layout that stops responding at 768px.

15s
Why red ink vanishes under a red sheet, and how I made an iPhone do it
📰
0Read More

Why red ink vanishes under a red sheet, and how I made an iPhone do it

DEV Community: ios·Johnny Nguyen·2 days ago
#8x3kfPoQ
#devtoios#devto#dev#sheet#paper

I work on Red Sheet at W Lab. Students in Japan write answers in red or orange pen, lay a sheet of...

15s
Chrome's dark mode stops flipping logos at 65 pixels
🖼️
0Read More

Chrome's dark mode stops flipping logos at 65 pixels

DEV Community: css·Iain·3 days ago
#pmCpAGzR
#devtocss#devto#dev#dark#chrome

Chrome's forced dark mode measures each picture, counts its greys and asks a tiny neural net. That's how Uber's logo turns white and OpenAI's stays a white box.

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·5 days 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
Eliminating Sub-Millimeter Drift When Printing Barcode Label Grids from the Browser
🖼️
0Read More

Eliminating Sub-Millimeter Drift When Printing Barcode Label Grids from the Browser

DEV Community: css·Someesim·6 days ago
#HKl3Mxfp
#devtocss#devto#dev#const#inch_to_pt

Anyone who has built an HTML/CSS sheet-label generator for 30-up Avery 5160 sheets or 4×6...

15s
Twenty-two of the thirty-six tap targets on our mobile homepage are 20 pixels tall, and the page passes WCAG anyway
📰
0Read More

Twenty-two of the thirty-six tap targets on our mobile homepage are 20 pixels tall, and the page passes WCAG anyway

DEV Community: css·Daniel Pertu·12 days ago
#4pjc6x74
#devtocss#devto#dev#pixels#targets

A sweep of every link, button and input on eleven live pages at 390 CSS pixels wide. Fifty-two of the fifty-nine targets on our features index are under 24 pixels, every one of them passes WCAG 2.5.8 through the spacing exception, and almost nothing on…

15s
Why Does My Hit the Road Dude Clip Look Washed Out After Editing? Checking Color Range Tags With ffprobe and Python
📰
0Read More

Why Does My Hit the Road Dude Clip Look Washed Out After Editing? Checking Color Range Tags With ffprobe and Python

DEV Community: python·Peiguan·12 days ago
#INyaXsvc
#devtopython#devto#dev#range#limited

Checked November 4, 2026 (09:00 CST, UTC+8) against the live pages linked below. I build...

15s
A reader who sets their browser font to Very Large gets a smaller headline on our homepage than one who sets it to Large
📰
0Read More

A reader who sets their browser font to Very Large gets a smaller headline on our homepage than one who sets it to Large

DEV Community: css·Daniel Pertu·13 days ago
#vfXceemV
#devtocss#devto#dev#font#size

Tailwind's breakpoints are in rem, and media query rem resolves against the browser's default font size. So raising it moves our breakpoints, and at 24px our hero heading drops a size on a 1512px window.

15s
Do canvas, createImageBitmap and sharp premultiply alpha when they resize? A lookup from one cutout PNG
📰
0Read More

Do canvas, createImageBitmap and sharp premultiply alpha when they resize? A lookup from one cutout PNG

DEV Community: javascript·NullPointerZen·16 days ago
#YnFvfEEV
#devtojavascript#devto#dev#alpha#pixels

I wanted a one-line answer to a small question: when I shrink a PNG that has a cut-out edge, which of...

15s
What one portrait and one hair sample can and cannot tell you before you change a thumbnail pipeline
📰
0Read More

What one portrait and one hair sample can and cannot tell you before you change a thumbnail pipeline

DEV Community: javascript·AsyncMonk·16 days ago
#kGc6JmiF
#devtojavascript#devto#dev#alpha#edge

Before touching a thumbnail pipeline that shrinks cut-out PNGs, I wanted to know one thing: does it...

15s
Blurry edge or white halo after resizing a cutout PNG? They are two different problems
📰
0Read More

Blurry edge or white halo after resizing a cutout PNG? They are two different problems

DEV Community: javascript·yue xing·16 days ago
#7Vhjm0h6
#devtojavascript#devto#dev#alpha#pixels

When I shrink a cutout PNG and blow it back up, two things go wrong at the edge, and it is easy to...

15s
Browser Zoom Changes the Size of a CSS Pixel, and Your Bug Report Cannot See It
📰
0Read More

Browser Zoom Changes the Size of a CSS Pixel, and Your Bug Report Cannot See It

DEV Community: css·Vladimir Elchinov·20 days ago
#kUpjCF8d
#devtocss#devto#dev#zoom#layout

A report arrives with a screenshot. The sidebar has collapsed into the narrow layout, on a desktop, where it should never collapse. You ask for their screen siz

15s
Pixel-Perfect HTML to WordPress: How to Convert a Design Without Changing a Pixel (and Prove It)
📰
0Read More

Pixel-Perfect HTML to WordPress: How to Convert a Design Without Changing a Pixel (and Prove It)

DEV Community: css·Kerf·21 days ago
#WSCSlKMs
#devtocss#devto#dev#wordpress#kerf

Almost every HTML-to-WordPress service and plugin says “pixel-perfect.” Very few show you a...

15s