Answers for "how do i make a background image smaller"

CSS
3

html background image fit to screen

body {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
Posted by: Guest on May-11-2020
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

Code answers related to "how do i make a background image smaller"

Browse Popular Code Answers by Language