Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> body { background-repeat: no-repeat; background-image: url("img_tree.gif"); background-size: cover; } </style> </head> <body> <h1>The background-size Property</h1> <p> A demonstraion of the different background-size values. </p> </body> </html>