<div class="col-lg-6" >
<img src = "iphone6.png" id="dog-mobile" alt="phone">
</div>
#dog-mobile{
height:600px;
position: absolute;
right: 25%;
transform: rotate(25deg);
}
@media(max-width:1000){
#dog-mobile{
position: static;
transform: rotate(0deg);
}
}
<The media query for the image is not functioning properly, as it should be positioned statically and straight below 1000px width but it fails to do so. Additionally, this image is within a grid Bootstrap class of col-lg-6. Refer to this output image screenshot for visualization.>