Skip to content

Instantly share code, notes, and snippets.



Created Jan 30, 2012
What would you like to do?
Fill image technique
<div class="main column left">
<img src="/images/placeholder/graphic_630x420.jpg" alt="First 2012 Mission Creek Festival Announcement" />
<div class="headline">
<h3>First 2012 Mission Creek Festival Announcement</h3>
Iowa City’s Mission Creek Festival Returns March 27-April 1, 2012, and KRUI has the scoop on the star-studded line-up...and this is just the first announcement!
/* Large feature */
.main {
height: 420px;
width: 630px;
.main h3 {
font-size: 25px;
font-weight: 700;
.main p {
line-height: 18px;
.main img {
min-height: 100%;
min-width: 630px;
width: 100%;
z-index: -1;
.main .headline {
position: absolute;
width: 400px;
top: 450px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment