Last active
March 16, 2018 14:44
-
-
Save julia-r/3acaebd0029131822e214e89f0040e76 to your computer and use it in GitHub Desktop.
Box arrangements
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
/** | |
* Box arrangements | |
*/ | |
.container { } | |
.item {} | |
.container { | |
background-color: lightblue; | |
width: 100vw; | |
height: 100vh; | |
margin: 0; | |
} | |
.item { | |
height: 100px; | |
width: 100px; | |
background-color: blue; | |
margin: 5px; | |
color: white; | |
font-size: 50px; | |
line-height: 100px; | |
text-align: center; | |
font-family: monospace; | |
} | |
body { margin: 0} |
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="container"> | |
<div class="item">1</div> | |
<div class="item">2</div> | |
<div class="item">3</div> | |
<div class="item">4</div> | |
<div class="item">5</div> | |
<div class="item">6</div> | |
<div class="item">7</div> | |
<div class="item">8</div> | |
<div class="item">9</div> | |
<div class="item">10</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
// alert('Hello world!'); |
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":"separate","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