Created
October 29, 2013 17:18
-
-
Save jklm313/7218862 to your computer and use it in GitHub Desktop.
demo purposes
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
* { | |
box-sizing: border-box; /* www.paulirish.com/2012/box-sizing-border-box-ftw/ */ | |
} | |
.page { | |
display: flex; | |
} | |
/* demo purposes */ | |
.welcome, .main {height: 200px; width: 300px;} | |
.welcome { | |
background-color: dodgerblue; | |
} | |
.main { | |
background-color: pink; | |
} | |
/* resize window to see it in action */ | |
@media (max-width:500px) { | |
.page { | |
flex-direction: column-reverse; | |
} | |
} |
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="page"> | |
<div class="welcome"> | |
<span>Welcome to my page</span> | |
</div> | |
<div class="main"> | |
<div class="header"> | |
</div> | |
<div class="content"> | |
</div> | |
</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
{"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