78 lines
2.5 KiB
HTML
78 lines
2.5 KiB
HTML
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
||
|
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
|
||
|
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
|
||
|
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
|
||
|
crossorigin="anonymous"></script>
|
||
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
||
|
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
||
|
crossorigin="anonymous"></script>
|
||
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
||
|
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
|
||
|
crossorigin="anonymous"></script>
|
||
|
<style>
|
||
|
body {
|
||
|
height: 100%;
|
||
|
overflow: scroll;
|
||
|
}
|
||
|
|
||
|
.container-fluid {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.row {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.navsec {
|
||
|
width: 100%;
|
||
|
background-color: #343A40;
|
||
|
}
|
||
|
|
||
|
.nav {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.nav-pills .nav-link.active,
|
||
|
.nav-pills .show>.nav-link {
|
||
|
color: #343A40;
|
||
|
background-color: beige;
|
||
|
}
|
||
|
|
||
|
.nav-link {
|
||
|
color: beige;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div class="container-fluid">
|
||
|
<div class="row">
|
||
|
<div class="col-sm-3 navsec">
|
||
|
<nav class="navbar navbar-dark bg-dark flex-column">
|
||
|
<a class="navbar-brand" href="#">Navbar</a>
|
||
|
<nav class="nav nav-pills flex-column">
|
||
|
<a class="nav-link active" href="#item-1">Item 1</a>
|
||
|
<nav class="nav nav-pills flex-column">
|
||
|
<a class="nav-link ml-3 my-1" href="#item-1-1">Item 1-1</a>
|
||
|
<a class="nav-link ml-3 my-1 active" href="#item-1-2">Item 1-2</a>
|
||
|
</nav>
|
||
|
</nav>
|
||
|
</nav>
|
||
|
</nav>
|
||
|
</div>
|
||
|
<div class="col-sm-9 contents">
|
||
|
<div class="container">
|
||
|
<div data-spy="scroll" data-offset="0">
|
||
|
<h4 id="item-1">Item 1</h4>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|