Answers for "background image scale down"

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
2

background image height and width

.class{
	background: url("../images/icons/map.png") no-repeat center center/50px 50px fixed;
}
Posted by: Guest on September-29-2020

Browse Popular Code Answers by Language