62 lines
1.7 KiB
HTML
62 lines
1.7 KiB
HTML
|
<!doctype html>
|
||
|
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
|
||
|
<html class="no-js" lang="en" dir="ltr">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||
|
<title>Foundation for Sites Testing</title>
|
||
|
<link href="../assets/css/foundation.css" rel="stylesheet" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="grid-x grid-padding-x">
|
||
|
<div class="cell">
|
||
|
<h1>Top Bar: Stacking</h1>
|
||
|
|
||
|
<p>By default, a top bar stacks on the small breakpoint (< 640px).</p>
|
||
|
|
||
|
<div class="top-bar">
|
||
|
<div class="top-bar-left">
|
||
|
<p><strong>Left</strong></p>
|
||
|
</div>
|
||
|
<div class="top-bar-right">
|
||
|
<p><strong>Right</strong></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<p>This top bar should stack on <em>medium and down</em>.</p>
|
||
|
|
||
|
<div class="top-bar stacked-for-medium">
|
||
|
<div class="top-bar-left">
|
||
|
<p><strong>Left</strong></p>
|
||
|
</div>
|
||
|
<div class="top-bar-right">
|
||
|
<p><strong>Right</strong></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<p>This top bar should stack on <em>large and down</em>.</p>
|
||
|
|
||
|
<div class="top-bar stacked-for-large">
|
||
|
<div class="top-bar-left">
|
||
|
<p><strong>Left</strong></p>
|
||
|
</div>
|
||
|
<div class="top-bar-right">
|
||
|
<p><strong>Right</strong></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script src="../assets/js/vendor.js"></script>
|
||
|
<script src="../assets/js/foundation.js"></script>
|
||
|
<script>
|
||
|
$(document).foundation();
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|