2

Is There any way in CSS to Hide the Background Image from top when i resize the browser by changing the height and Hide the Background Image from right when i resize the browser by changing the width without the image gets shrink. Im able to achieve only hiding from right on maximum height. If I tried to resize on both sides the image gets shrink and not hided. Below is my CSS code.

 body {
  background-image:url("");
  background-size:cover;
  background-position:bottom left;
}

I want to hide the background image from top and right when I resize from any direction and for any width and height. Can someone plz help.

Jishnu V S
  • 8,164
  • 7
  • 27
  • 57

1 Answers1

0

please check this for a try

@media (max-width:1200px){
  body { background:none !important; }
}
Jishnu V S
  • 8,164
  • 7
  • 27
  • 57