Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (41 sloc) 1.46 KB
<!doctype html>
<head>
<title>JS polyfill for flexbox</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body>
<div id="parent_box">
<div class="fixed_child">A</div>
<div class="fixed_child">B</div>
<div class="flex_child">C</div>
<div class="flex_child">D</div>
<div class="fixed_child">E</div>
</div>
<br/><br/>
<div id="parent_box_vertical">
<div class="fixed_child_vertical">F</div>
<div class="fixed_child_vertical">G</div>
<div class="flex_child">H</div>
<div class="flex_child">I</div>
<div class="fixed_child_vertical">J</div>
</div>
<br /><br/>
<div id="parent_box_reversed">
<div class="fixed_child">K</div>
<div class="fixed_child">L</div>
<div class="flex_child">M</div>
<div class="flex_child">N</div>
<div class="fixed_child">O</div>
</div>
<br/><br/>
<div id="parent_box_vertical_reversed">
<div class="fixed_child_vertical">P</div>
<div class="fixed_child_vertical">Q</div>
<div class="flex_child">R</div>
<div class="flex_child">S</div>
<div class="fixed_child_vertical">T</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript" src="/js/cssparser.js"></script>
<script type="text/javascript" src="flexbox_polyfill.js"></script>
</body>