Hello, friends. I'm doing a little project and I'm having difficulty using grid and sidenav bootstrap, I want to make a fixed side menu, no responsiveness with 30% of screen size and the other 70% I'll implement tables and forms, could anyone help me?
The side menu was able to do a part, just do not know if it is correct.
<!--BootstrapCSS--><linkrel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/styles.css">
<title>CRUD</title>
<style>
#sidebar-wrapper {
left: -300px;
width: 300px;
background-color: #51A8B1;
color: white;
position: fixed;
height: 100%;
z-index: 1;
}
.sidebar-nav {
position: fixed;
top: 0;
margin: 0;
padding: 0;
width: 300px;
list-style: none;
}
.sidebar-nav li {
font-size: 20px;
text-indent: 55px;
line-height: 70px;
}
.sidebar-nav li a {
color: white;
display: block;
text-decoration: none;
}
.sidebar-nav li a:hover {
background: #448B93;
color: white;
text-decoration: none;
}
.sidebar-nav li a:active, .sidebar-nav li a:focus {
text-decoration: none;
}
#ufpb-logo{
margin-top: 50px;
margin-bottom: 50px;
padding-left: 110px;
}
#sidebar-wrapper.sidebar-toggle {
transition: all 0.3s ease-out;
margin-left: -200px;
}
#main{
padding-left: 70px;
}
@media (min-width: 768px) {
#sidebar-wrapper.sidebar-toggle {
transition: 0s;
left: 200px;
}
}
</style>
</head>
<body>
<!--SideNav-->
<div class="container">
<div id="sidebar-wrapper" class="sidebar-toggle">
<ul class="sidebar-nav">
<div class="row" id="ufpb-logo">
<a href="#"><img width="111px" height="160" src="assets/img/ufpb2.png"/></a>
</div>
<li>
<a href="#item1">Produtos</a>
</li>
<li>
<a href="#item2">Entradas</a>
</li>
<li>
<a href="#item3">Saídas</a>
</li>
<li>
<a href="#item3">Resumo</a>
</li>
<li>
<a href="#item3">Sair</a>
</li>
</ul>
</div>
</div>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="/js/jquery.min.js"></script>
<script src="/js/popper.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body>