Created
November 1, 2011 14:30
-
-
Save aronallen/1330629 to your computer and use it in GitHub Desktop.
Display box is broken
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 lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style type="text/css"> | |
nav{ | |
display: -webkit-box; | |
display: box; | |
-webkit-box-orient: horizontal; | |
box-orient: horizontal; | |
width:100%; | |
} | |
nav div{ | |
-webkit-box-flex: 1; | |
box-flex: 1; | |
height:100%; | |
text-align:center; | |
} | |
</style> | |
</head> | |
<body> | |
<nav> | |
<div>Apples</div> | |
<div>Bears</div> | |
<div>Antelopes</div> | |
<div>Crystalized-anamantium</div> | |
</nav> | |
<nav> | |
<div>Same content, same size</div> | |
<div>Same content, same size</div> | |
<div>Same content, same size</div> | |
<div>Same content, same size</div> | |
<div>Same content, same size</div> | |
<div>Same content, same size</div> | |
</nav> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment