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/
Accedi per aggiungere un commento
Altri post in questo gruppo

Learn how to install HUGO together with Tailwind CSS and Flowbite to start building websites with one of the most popular static site generators in the world https://webdesignernews.com/learn-how-to-i

A concept-to-site journey in Webflow, shaped by design, dev, and bold animation principles. https://webdesignernews.com/design-in-motion-the-animation-principles-behind-green-stack/

Digital design is more than just picking the right colors and fonts. It is about using precise calculations to create balance and harmony. Artists have used these ideas for hundreds of years to make t