Skip to content

Instantly share code, notes, and snippets.

@josefrichter
Created August 28, 2012 14:06
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 josefrichter/3498294 to your computer and use it in GitHub Desktop.
Save josefrichter/3498294 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.container {
width:50%;
position:relative;
}
img {
float:left;
margin: 0 10px 0px 0;
}
.meta {
background:red;
display:table-cell;
height:100%;
vertical-align:bottom;
}
.cleaner {
height:0;
width:100%;
clear:both;
}
<!-- content to be placed inside <body>…</body> -->
<div class="container">
<img src="http://lorempixel.com/200/200/abstract" />
<div class="text">Lorem Ipsum</div>
<div class="meta">Some meta data</div>
<div class="cleaner">&nbsp;</div>
</div>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment