IMG dissapears

Aug 9, 2013 at 7:41 AM
Hi,

Got a question; how can you let an image disappear when the layout reaches a certain size?
Aug 9, 2013 at 9:43 AM
nm, got it fixed :)
Coordinator
Aug 9, 2013 at 1:59 PM
Hi,

I am sure you used a similar method but you will want to use media queries to handle this.

You will have to pick the right selector to target the image in question as well as set up the correct media query. Say you want to hide an image for viewports under 768 pixels, i.e. smaller than most tablets.
@media all and (max-width: 767px) {
img.myclass {
display: none;
}
}
Eric