0
How do I make the background image fit mobile device cause
2 Antworten
+ 1
Set hight and width 100%
+ 1
background-size: cover;
or:
background-size: contain;
former fit the background to fit background area, cropping if needed
later fit without croping (repeatition of image if set)
you may need:
background-position: center center;
baclground-repeat: no-repeat;