Answers for "how to scale down an background-image in css"

CSS
0

how to scale down background image in css

.bgSizeCover {
  background-image: url(https://www.mozilla.org/media/img/logos/firefox/logo-quantum.9c5e96634f92.png);
  background-size: cover;
  width: 100%;
  height: 100%;
  border: 2px solid;
  color: pink;
  resize: both;
  overflow: scroll;
}
Posted by: Guest on June-28-2021

Browse Popular Code Answers by Language