JavaScript is disabled! Please enable JavaScript in your web browser!

Freestyle Academy of Communication Arts & Technology

1299 Bryant Ave, Mt. View, CA 94040 T 650-940-4680   F 650-961-1346
2 Required Classes: English and Design 3rd/Elective Class:  + Animation or Digital Media or Film
Freestyle Logo

Font Size

+

-

Reset

Back to list of all examples

Useful Stuff About:

Background Image Cover

Resize this browser window to see effect of background image that resizes itself to COVER the window background

Here's the CSS


html {
background-image:url(../images/Background_Image_Cover.jpg);/*Adjust the path to actual image*/
background-size:cover;/*This is the important CSS to make the image cover the browser window even if window is resized*/
}