73 lines
1.8 KiB
HTML
73 lines
1.8 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>All Foundation Menu Options - Flexbox</title>
|
|
<link href="../motion-ui/dist/motion-ui.css" rel="stylesheet" />
|
|
<link href="../assets/css/foundation-float.css" rel="stylesheet" />
|
|
|
|
<style>
|
|
h1 {
|
|
border-bottom: 1px solid #ddd;
|
|
margin-bottom: 2rem;
|
|
width: 100%;
|
|
}
|
|
|
|
h3 {
|
|
width: 100%;
|
|
}
|
|
|
|
.example {
|
|
padding: 2rem;
|
|
border: 1px solid #ddd;
|
|
width: 100%;
|
|
}
|
|
|
|
.example + h1 {
|
|
margin-top: 5rem;
|
|
}
|
|
|
|
.example + h3 {
|
|
margin-top: 3rem;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="row">
|
|
<div class="column">
|
|
<h1>Active Menu (is-active)</h1>
|
|
|
|
<div class="example">
|
|
<ul class="menu">
|
|
<li><a href="#">One</a></li>
|
|
<li class="is-active"><a href="#">Two (.active)</a></li>
|
|
<li><a href="#">Three</a></li>
|
|
<li><a href="#">Four</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h1>Active Menu (active)</h1>
|
|
|
|
<div class="example">
|
|
<ul class="menu">
|
|
<li><a href="#">One</a></li>
|
|
<li class="active"><a href="#">Two (.active)</a></li>
|
|
<li><a href="#">Three</a></li>
|
|
<li><a href="#">Four</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="../assets/js/vendor.js"></script>
|
|
<script src="../assets/js/foundation.js"></script>
|
|
<script>
|
|
$(document).foundation();
|
|
</script>
|
|
</body>
|
|
</html>
|