Skip to content

Instantly share code, notes, and snippets.

@nix1947
Last active December 12, 2016 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nix1947/938f953464bab98e27f1e2c6b0d0102e to your computer and use it in GitHub Desktop.
Save nix1947/938f953464bab98e27f1e2c6b0d0102e to your computer and use it in GitHub Desktop.
Create black transparent overlay over background image in banner
.jumbotron{
//background-image: url("http://www168.lunapic.com/editor/images/slide21.jpg");
background-image: url('/static/images/banner.jpg');
background-size: cover;
box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
background-position: center;
}
// some helper classes for bootstrap3
.text-center
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment