/* Full Page Responsive Image*/ body, html { height: 100%; } .bg { /* Full height */ height: 100%; /* Center and scale the image nicely */ background-position: center; background-repeat: no-repeat; background-size: cover; }