We’ve been able to get the length of the viewport in CSS since… checks notes… 2013! Surprisingly, that was more than a decade ago. Getting the viewport width is as easy these days as easy as writing 100vw, but what does that translate to, say, in pixels? What about the other properties, like those that take a percentage, an angle, or an integer? https://webdesignernews.com/typecasting-and-viewport-transitions-in-css/
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup

Think “user” and “customer” are the same thing? Think again. Confusing the two could be the silent killer of your product—and your profits. Here’s why designing for the wrong journey could cost you ev

A recent study reveals why well-designed AI explanations often go unused and what it means for UX practice https://webdesignernews.com/why-users-ignore-ai-explanations/

A few days ago, I opened my finance app to check my card details. Nothing unusual about that. Except this time, I was already on a call. https://webdesignernews.com/a-simple-perfectly-timed-design-dec

If you’ve ever opened a B2B app and felt like you were fighting a maze of menus, tabs, and dashboards — you’re not alone. Traditional navigation was once the backbone of digital products. But today, i

Hope you’re having a good week so far. This edition I loved the deep dive into the State of CSS 2025 results, with :has() rightly in the spotlight. https://webdesignernews.com/state-of-css-2025-

Flexbox is a one-dimensional layout tool, used for arranging elements in a single row or column. It is best suited for simple, one-dimensional layouts and smaller-scale projects. https://webdesignerne