Answer the question
In order to leave comments, you need to log in
How to make an image disappear from a website. With media queries?
When the screen width is less than (let's say) 700px. That is, I need the picture to completely disappear from the site if it is accessed from a tablet or phone, no, you don’t need to adapt it to a different size, you just need to disappear.
701 px picture is 699px and all pictures are not. If it is possible with a code example please :) Thank you)
Answer the question
In order to leave comments, you need to log in
The issue is resolved, maybe it will come in handy for someone:
instead of 1024, you can specify any desired size at which the image will disappear from the site.
media screen and (max-width: 1024px) {
.osaks {
width:0px;
overflow-x: auto;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question