Created
March 13, 2013 04:52
-
-
Save pedrodelgallego/5149467 to your computer and use it in GitHub Desktop.
Positioning exercises
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
/* | |
Positioning exercises | |
*/ | |
.container { | |
border: teal; | |
} | |
.box { | |
color: white; | |
text-align: center; | |
font-size: 22px; | |
background-color: red; | |
width: 100px; | |
height: 100px; | |
} | |
.box1 {} | |
.box2 {} | |
.box3 {} | |
.box4 {} |
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
<div class="container"> | |
<div class="box box1">One</div> | |
<div class="box box2">Two</div> | |
<div class="box box3">three</div> | |
<div class="box box4">Four</div> | |
</div> |
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
// alert('Hello world!'); |
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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment