• #dev 2024-11-10
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2024-11-10 UTC
# 15:20
Zegnat
Dev behind my IWC demo: you can use CSS queries @media (max-aspect-ratio: 1/1) and @media (min-aspect-ratio: 1/1) to detect portrait and landscape sized viewports respectively. This is different from device orientation, as that would not change on resize.