How do I show something only if the device is portrait with HTML/CSS?

前端 未结 0 1639
慢半拍i
慢半拍i 2021-02-04 19:22

I thought this would be a simple task, but I can\'t get it to work.

Essentially, I have a banner which I need to display only if the user has their device held portrait.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题