Created
June 26, 2014 16:55
-
-
Save luiz/9a47d139d07206e94cbc to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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
body { overflow-y: scroll; } | |
.caixas { | |
background-color: #ffc; | |
margin: 0; | |
padding: 0; | |
} | |
.caixa { | |
list-style: none; | |
border: .4vw solid; | |
width: 20vw; | |
height: 100px; | |
background-color: orange; | |
color: #950; | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
.flex { | |
display: flex; | |
justify-content: space-between; | |
flex-flow: wrap; | |
} | |
.flex .caixa:not(:nth-child(3n)):not(:last-child) { | |
flex-shrink: 0; | |
margin-right: 18vw; | |
} | |
.inline { | |
text-align: left; | |
letter-spacing: calc(20vw - 2.25ch); | |
font-family: monospace; | |
} | |
.inline .caixa { | |
letter-spacing: 0; | |
display: inline-block; | |
} |
This file contains hidden or 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
<ul class="caixas inline"> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
<li class="caixa">Lorem ipsum</li> | |
</ul> |
This file contains hidden or 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":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment