This project is read-only.

IMG dissapears

Aug 9, 2013 at 8:41 AM

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

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;