Last active
July 29, 2016 14:40
-
-
Save hallojoe/820b54a16e0aa0b68c8c6a953ae2d31f to your computer and use it in GitHub Desktop.
This show how to wrap a custom namespace around boostrap css.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
when build, this will prefix all rules with "namespaced-bootstrap" | |
*/ | |
.namespaced-bootstrap { | |
@import (less) url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.css'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="namespaced-bootstrap"> <!-- yeah! --> | |
<div class="panel panel-default"> | |
<div class="panel-body"> | |
Basic panel example | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment