I am trying to do the following where bootstrap style is being applied. navbar-fixed-top bring that element position to be fixed at top. #subnav will show or hide depend on showsubnav value.
<div id="backnav">
<div id="topnav" class="container-fluid navbar-fixed-top">
<nav id="mainnav" class="navbar navbar-default"></nav>
<nav id="subnav" class="navbar navbar-inverse" ng-show="showsubnav"></nav>
</div>
</div>
How can I have the #backnav height to be the same as #topnav?
Lorem ipsum dolor sit amet, ....