I'm using http://tachyons.io/ and have a icon. I want to display that icon only on small devices but when its landscape mode to also display on small devices. Since the screen size for portrait is less than 480px but if I rotate, its more than 480px in landscape mode which makes it "medium" size as per Tachyons.
How can I handle this situation?
My scenario example: display icon on small devices only, hide icon on medium and large devices, on landscape mode - show icon on small devices or set a range of width acceptable to be shown.
<div className="dn-ns">
this means display none on everything but small devices.