Search
 
SCRIPT & CODE EXAMPLE
 

HTML

bootsrap main section fill all height with navbar

<div class="container-fluid h-100 d-flex flex-column">
    <nav class="navbar navbar-expand-sm s-navbar">
        <a class="brand navbar-brand" href="/">Brand</a>
        <button class="navbar-toggler s-btn-hamburger order-first s-color-icons" aria-expanded="true" aria-controls="navbar-test" aria-label="Toggle navigation" type="button" data-target="#navbar-test" data-toggle="collapse">
            <span class="navbar-toggler-icon k-icon k-icon-md k-i-hamburger"></span>
        </button>
        <div class="navbar-collapse s-menu-content collapse show" id="navbar-test">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" id="dropdown1" aria-expanded="false" aria-haspopup="true" data-toggle="dropdown">Menu Item</a>
                    <div class="dropdown-menu" aria-labelledby="dropdown1">
                        <a class="dropdown-item" href="/Device">Sub menu</a>
                    </div>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/Test">Test</a>
                </li>
            </ul>
        </div>
    </nav>
    <div class="row flex-fill">
        <main class="col" style="background-color: yellow"></main>
    </div>
</div>
Comment

PREVIOUS NEXT
Code Example
Html :: link in md 
Html :: embed xml in html page 
Html :: rounded pill bootstrap 5 
Html :: add keywords meta tag 
Html :: oauth vs auth0 
Html :: html table 
Html :: div side by side css without bootstrap 
Html :: alt html 
Html :: html login and registration form 
Html :: sub html 
Html :: how to add an svg image to html 
Html :: xpath equals 
Html :: html style attribute 
Html :: html heading elements 
Html :: html5 comment 
Html :: html disable button tag 
Html :: stimulus value 
Html :: link mui 
Html :: chrome input autocomplete not working 
Html :: col md flex column 
Html :: display html django template 
Html :: html5 input pattern name 
Html :: registration form bootstrap 
Html :: bootstrap btn colors 
Html :: html hex color 
Html :: html input min length 
Html :: how to make email required in html 
Html :: coreui margin right 
Html :: Removing leading whitespace from indented HTML source in pre/code tags 
Html :: image on text in bootstrap 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =