Created
July 3, 2012 12:29
-
-
Save tobibo/3039448 to your computer and use it in GitHub Desktop.
Untitled
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
*{ | |
font-size: 12px; | |
margin: 0; | |
box-sizing: border-box; | |
} | |
.row { | |
display: box; | |
height: 94px; | |
background: whitesmoke; | |
box-align: center; | |
} | |
.row >* { | |
display: box; | |
box-pack: center; | |
box-orient: vertical; | |
} | |
.img { | |
width: 94px; | |
height: 94px; | |
background: lightgrey; | |
} | |
.content { | |
padding: 0 20px; | |
box-flex: 1; | |
} | |
.content >* { | |
white-space: nowrap; | |
text-overflow: ellipsis; | |
overflow: hidden; | |
} | |
.btn { | |
width: 20px; | |
height: 20px; | |
border-radius: 5px; | |
background: gold; | |
margin-right: 20px; | |
} | |
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
<div class="row"> | |
<div class="img"></div> | |
<div class="content"> | |
<h3>long long long long long long long long long long long title</h3> | |
<p>some info</p> | |
<time>morgen 17:00</time> | |
</div> | |
<div class="btn"></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
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment