-1
I was researching here the solutions, but it did not work in my code, I leave here it:
CSS:
@media screen and (max-width:768px)
{
#img{
display: none !important;
}
}
#img{
background-color: none;
}
HTML:
<div class="col-sm-6" id="img">
<img src="img/book.png" width="650px" height="800px" style="margin-top: -100px;margin-left: -50px">
</div>
But it’s not working. What am I doing wrong? Tightening F12 to simulate a cell phone, but does not roll.
Just one question, which DIV you’re trying to hide?
– Augusto Henrique
The id you entered in the style, is not associated with any page element
– Marcos Henrique
Friend’s answer, it didn’t work
– Ricardo Gonçalves
Guy puts his full CSS there! Edit the question and puts it whole! Your problem should be in another part of the code, because here it worked
– hugocsl
edited the question
– Ricardo Gonçalves
I’m wearing the bootstrap, I don’t know if it interferes...
– Ricardo Gonçalves