Skip to main content

One post tagged with "physical"

View All Tags

· 7 min read
Marvin Danig

This article was originally featured on the The Bubblin Blog. It has since been updated and migrated to the Toucaan blog because it is relevant here.

Have you ever tried using the INCH css unit, i.e., in, in your web designs? No?

Well, let's do it today. 🏁

I propose the following bit of code:

/* Somewhere inside the <head> element of your page, add the following: */

@import url('path/to/portrait.css') only screen and (orientation: portrait);
@import url('path/to/landscape.css') only screen and (orientation: landscape);