How to make the html background image full screen
1. First, set the height of html and body to 100%
Recommended learning: html tutorial
1 2 3 4 |
|
2. Then add a background image to the body and set the background-size to 100%.
1 2 3 4 5 |
|
For more related tutorials, please pay attention to PHP Chinese website!
The above is the detailed content of How to make html background image full screen. For more information, please follow other related articles on the PHP Chinese website!