Skip to content

Instantly share code, notes, and snippets.

@gabesoft
Last active December 31, 2015 08:26
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 gabesoft/9c516cd61de12e56efce to your computer and use it in GitHub Desktop.
Save gabesoft/9c516cd61de12e56efce 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
*/
.post-list {
list-style: none;
}
.feed-title {
text-transform: italic;
float: left;
}
.post-date {
position: absolute;
right: 0
bottom: 0;
}
.post-author {
position: absolute;
left: 0;
bottom: 0;
}
.post-title {
font-weight: 600;
float: right;
}
li {
border: 1px solid #eee;
background: rgba(0,0,0,0.1);
overflow: hidden;
position: relative;
height: 50px;
}
<!-- content to be placed inside <body>…</body> -->
<ul class="post-list">
<li>
<div class="feed-title">Hacker News</div>
<div class="post-title">The most amazing story ever</div>
<div class="post-date">32 minutes</div>
<div class="post-author">Tywin Lanister</div>
</li>
</ul>
// alert('Hello world!');
{"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