Created
August 10, 2013 16:54
-
-
Save tingham/6201156 to your computer and use it in GitHub Desktop.
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
<style type="text/css"> | |
div.eventWrapper { | |
display:block; | |
float:left; | |
clear:none; | |
width: 320px; | |
} | |
div.eventWrapper div.titleSlug { | |
display:block; | |
clear:both; | |
background-position: center center; | |
background-repeat: no-repeat; | |
height: 240px; | |
width: 320px; | |
font-size: 18px; | |
font-weight: bold; | |
color: #fff; | |
} | |
</style> | |
<div class="eventWrapper"> | |
<div class="titleSlug" style="background-image:url(/path/to/asset.jpg);"> | |
<h2>My Big Event</h2> | |
<p>Date time info</p> | |
</div> | |
<div class="bodySlug"> | |
// details about event go here. | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment