Skip to content

Instantly share code, notes, and snippets.

@mezis

mezis/nav.html

Created May 13, 2014
Embed
What would you like to do?
Deriving from Bootstrap
<nav class="ht-navbar">
<div>
<a>Brand</a>
</div>
<div>
<ul>
<li><a>First tab</a></li>
<li><a>Second tab</a></li>
</ul>
</div>
</nav>
.ht-navbar
@extend .navbar
@extend .navbar-default
> div::first-child
@extend .navbar-header
> a
@extend .navbar-brand
> div::last-child
@extend .container-fluid
> ul
@extend .nav
@extend .navbar-nav
@mezis

This comment has been minimized.

Copy link
Owner Author

@mezis mezis commented May 13, 2014

Simply put, Bootstrap should usually not "bleed" into your DOM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.