Menu

The Print Layer of app.onepassapps.com: One Button, Two Print Media Queries, and 314 Elements That Vanish
📰

The Print Layer of app.onepassapps.com: One Button, Two Print Media Queries, and 314 Elements That Vanish

DEV Community: css·OnePassApps·10 days ago
#s848R18w
#devtocss#devto#dev#privacy#payments
Reading 0:00
15s threshold

I work on OnePassApps, so this is our own site's own print layer. Every number below was measured on app.onepassapps.com on 9 November 2026: the stylesheet and the page HTML with plain HTTPS, and the layout with one real Chrome on our own desktop, switching the tab into print media through the browser's own emulation.

We have already written about the head, the JSON-LD, the headers and the compression of these pages. This one is about what happens to our pages when somebody prints them.

What I measured

The stylesheet our terms page links: /assets/index-D4M6hlLQ.css, 255,426 bytes

Every media query in that file, including the two that only apply to print

The served HTML of all 56 URLs in our sitemap.xml, looking for print-related markers

Six pages opened one at a time in Chrome, then switched into print media and read again

Two print rules in one stylesheet

That stylesheet contains exactly two print media queries.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.