Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code for putting an image as banner in Bootstrap
#banner{
background-image: url('images/mac.jpg');
min-height: 800px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
height:100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.