0:000:09
CSS device-posture media query for folded screens
jhey ʕ•ᴥ•ʔ (@jh3yy) posted this video on X on , and it went viral the same day. It has 4,243 likes and 47 replies, ranking #75 of 226 viral design posts on ViralPost.
it's ok, css is already one step ahead @media (device-posture: folded) { h1 span { opacity: 0.25; } }
Why it went viral
A short CSS snippet using the device-posture media query to dim heading spans when a foldable device is folded, shown in a video.
- Likes
- 4,2434.2K
- Replies
- 47
Went viral
Posted on X