Created
February 12, 2014 17:37
-
-
Save planetoftheweb/8960511 to your computer and use it in GitHub Desktop.
Responsive Image Grid and Boostrap Jumbotron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header .jumbotron { | |
background: url('http://planetoftheweb.com/images/bridge.jpg') no-repeat center center; | |
background-position: center center; | |
width: 100%; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
} | |
.clearfix:before, .clearfix:after { content: " "; display: table; } | |
.clearfix:after { clear: both; } | |
.clearfix { *zoom: 1; } | |
.imagegrid ul, .imagegrid li { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
.imagegrid li { | |
width: 30%; | |
min-width: 60px; | |
max-width: 100px; | |
float: left; | |
} | |
.imagegrid li img { | |
width: 100%; | |
padding: 3%; | |
-webkit-border-radius: 12px; | |
border-radius: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment