I am currently working on aligning the navbar in the center while also maintaining a fixed width for larger screens. My goal is to have the blue area centered over the grid, but I am struggling to get it off the left edge. Additionally, I need the left and right sides to float left and right respectively.
View Example Photo
HTML Code
<div class="navbar">
<div class="navbar-left">
<a href="#home" class="navbar-brand icon-material-radio-button-on"></a>
</div>
<div class="navbar-right">
<a href="#work" class="navbar-arrow icon-material-arrow-forward"></a>
<a href="#work" class="navbar-arrow icon-material-arrow-back"></a>
</div>
</div>
CSS Code
.navbar {
background-color: #f8f8f8;
position: fixed;
width: 100%;
max-width: 1140px;
z-index: 1;
font-size: 14px;
min-height: 64px;
list-style: none;
text-align: center;
float: none;
}
.navbar-brand {
float: left;
}
.navbar-arrow {
float: right;
}