Last active
October 25, 2015 20:52
-
-
Save Mason8r/5f6f555f9576589ce525 to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html> | |
<head> | |
<title>Find some zen</title> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
body { | |
display:flex; | |
} | |
div { | |
display: flex; | |
flex-direction: row-reverse; | |
flex: 1; | |
height: 100vh; | |
align-items: center; | |
justify-content: center; | |
background: white; | |
} | |
div:last-child { | |
order: 2; | |
background: black; | |
color: white; | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<p>Yin</p> | |
</div> | |
<div> | |
<p>Yang</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment