Post

CSS for detecting device posture 🥼 @​media (device-posture: folded) { h1 span:first-of-type { opacity: 0.25; } } some cool future opportunities 🤙

Seb ⚛️ ThisWeekInReact.com@sebastienlorber.com

TIL about the DevicePosture API Useful to know from JS/CSS if a device is folded: "folded" | "continuous" W3C just moved this to Candidate Recommendation

46 reposts249 likes

haha - not that long ago 🥲 Steph has some demos that might be worth giving a little extra love to with these new ones cool thing is you can emulate the "folded" mode but funny enough it seems to be working better on device

I don't think we have even scratched the surface (no pun intended) with dual screen devices yet. Look at the trouble we go to with collapsing, slide in, expanding navigation, filters etc… for single screen websites.