A Pen by Robert Gorman on CodePen.
Created
January 19, 2017 20:46
-
-
Save rgaz1962/15929bcdeb1bdc6d52df6a019de18889 to your computer and use it in GitHub Desktop.
Foundation 6 Block Grid
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 class="hero"> | |
<div> | |
<h1>7 Days of Free Downloads</h1> | |
<h2>Download from over 300,000+ Graphics, Vectors, Icons, Buttons, Images and MORE!</h2> | |
</div> | |
</header> | |
<div class="row small-up-2 medium-up-3 large-up-5 align-center"> | |
<div class="column column-block"> | |
<img src="http://placehold.it/600" alt=""/> | |
</div> | |
<div class="column column-block"> | |
<img src="http://placehold.it/600" alt=""/> | |
</div> | |
<div class="column column-block"> | |
<img src="http://placehold.it/600" alt=""/> | |
</div> | |
<div class="column column-block"> | |
<img src="http://placehold.it/600" alt=""/> | |
</div> | |
<div class="column column-block"> | |
<img src="http://placehold.it/600" alt=""/> | |
</div> | |
</div> |
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
/* banner */ | |
.hero { | |
position: relative; overflow: hidden; | |
width:100%; padding: 33px 0 52px; | |
display:block; | |
} | |
.hero { | |
background: gray; | |
} | |
/* banner contents */ | |
.hero h1, .hero h2 { | |
text-align:center; color:white; | |
text-shadow:0 3px 5px rgba(0,0,0,.35); | |
} | |
.hero h2 { | |
font-size: 19px; line-height: 23px; | |
} | |
.column-block { | |
margin-top:33px; | |
} |
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
<link href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.2.3/foundation.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment