In the following example, I want to display only one div, depending on the device.
div
I\'m familiar with how to use @media to override a CSS cla
@media
In such simple cases that's all you need:
Try to use e.g. width:100% or max-width - rather than fixed widths.
width:100%
max-width