Menu

#ViewPort

30 posts

Feed·
20 of 30 posts
Why 100vh Breaks Mobile Forms (and How dvh + visualViewport Fix It)
🖼️
0Read More

Why 100vh Breaks Mobile Forms (and How dvh + visualViewport Fix It)

DEV Community: css·Marcus Lin·6 days ago
#CH6Ff486
#devtocss#devto#dev#height#viewport

Every frontend developer runs into the same mobile layout surprise sooner or later: a form or modal...

15s
Angular Virtual Scrolling: How It Works, Why We Need It, and How to Implement It
📰
0Read More

Angular Virtual Scrolling: How It Works, Why We Need It, and How to Implement It

DEV Community: angular·Naresh Rajput·6 days ago
#fWVTst55
#devtoangular#devto#dev#ddd#eee

Imagine you are building an application that needs to display 10,000 employees, 50,000 products, or...

15s
The Math Behind CSS clamp(): Building Truly Fluid Typography Without Media Queries
📰
0Read More

The Math Behind CSS clamp(): Building Truly Fluid Typography Without Media Queries

DEV Community: css·Jagserve Technology·10 days ago
#oClDGwEk
#devtocss#devto#dev#font#size

The Math Behind CSS clamp(): Building Truly Fluid Typography Without Media Queries Every frontend...

15s
Your 768px breakpoint is wrong on foldables — what the cover and inner screens actually report
📰
0Read More

Your 768px breakpoint is wrong on foldables — what the cover and inner screens actually report

DEV Community: css·尚毅段·12 days ago
#nYLoztDS
#devtocss#devto#dev#viewport#screen

Almost every responsive layout is tested at two sizes: something around 390×844, and something wide....

15s
Why CSS zoom Shrinks Every Slide to 30%
📰
0Read More

Why CSS zoom Shrinks Every Slide to 30%

DEV Community: css·orca forge·14 days ago
#PtICO37o
#devtocss#devto#dev#height#slide

An article for anyone whose page content shrinks dramatically with CSS zoom and who wants to check whether the min-height of a measurement container is to blame.

15s
Your Bug Report Says "iPhone". The Screen Is 448 by 364.
📰
0Read More

Your Bug Report Says "iPhone". The Screen Is 448 by 364.

DEV Community: css·Vladimir Elchinov·19 days ago
#FN4hyOZM
#devtocss#devto#dev#device#homeview

Last Friday Safari arrived on a new device: Apple HomeView, which has a square 7-inch display that people mostly use with their voice. WebKit's announcement inc

15s
Playwright fullPage screenshots return one viewport when the page scrolls inside a container
📰
0Read More

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

DEV Community: css·CurlShot·29 days ago
#ErbjbDlu
#devtocss#devto#dev#const#await

fullPage measures only the document. Two fixes for scrolling app shells, what each does to 100vh and windowed lists, and a 200,000 px page that held.

15s
CSS Pixels vs Device Pixels: Why "It Looks Fine on My Monitor" Is a Bug Report
📰
0Read More

CSS Pixels vs Device Pixels: Why "It Looks Fine on My Monitor" Is a Bug Report

DEV Community: r·David Brooks·about 1 month ago
#vAcX3d0i
#devtor#devto#dev#viewport#scaling

Most layout bugs are not bugs. They're mismatches between the viewport we designed on and the...

15s
Do the OnePassApps Studios Work on a Phone? Measured at 390 x 844
📰
0Read More

Do the OnePassApps Studios Work on a Phone? Measured at 390 x 844

DEV Community: mobile·OnePassApps·about 1 month ago
#ESHVy2Ka
#devtomobile#devto#dev#studio#phone

I emulated an iPhone-sized viewport in Chrome and measured what the studios actually do at 390 pixels wide: the page does not scroll sideways, the tool strip does, every button is 44 pixels tall, and a Base64 encode finished in 0.1 s on the device.

15s
CSS Units Explained: A Beginner’s Guide to px, %, em, rem, vh and vw
📰
0Read More

CSS Units Explained: A Beginner’s Guide to px, %, em, rem, vh and vw

DEV Community: css·Okoye Ndidiamaka·about 1 month ago
#9AXQZ5po
#devtocss#devto#dev#size#font

If you're learning CSS, you've probably encountered code like this: font-size: 16px; width:...

15s
Kern: exploring variable fonts and generating fluid type
📰
0Read More

Kern: exploring variable fonts and generating fluid type

DEV Community: css·Sammii·about 1 month ago
#PCXPZPKI
#devtocss#devto#dev#size#font

Kern is a typography explorer I built for variable fonts, with Next.js, TypeScript and Framer Motion....

15s
Tailwind Safe Area Insets: Bottom Bars, FABs and Toasts
📰
0Read More

Tailwind Safe Area Insets: Bottom Bars, FABs and Toasts

DEV Community: css·Serban Dan Rusu·about 1 month ago
#D5aaBUZf
#devtocss#devto#dev#bottom#safe

A Tailwind safe area guide for v4: opt in with viewport-fit=cover, pad bars with env(safe-area-inset-bottom) and keep FABs and toasts off the home indicator.

15s