Closed malte-wessel closed 11 years ago
Bootstrap's CSS coding conventions can be found on http://codeguide.co/#css-selectors , which is linked from the README.
I really dislike the double dash and double underscore styles, and we do have a strategy for naming things as @cvrebert mentioned. We'll stick to that for now. Thanks though.
It would be great If the Bootstrap class names start with bs- prefix. For example, bs-navbar, bs-container, bs-pull-left etc. Thanks :)
@htmlstream See #17474 & #1287. And please avoid adding tangential comments on old inactive issues in the future; next time, open a new issue instead. :smile: Thanks.
Hey there, you probably heard of the BEM naming convention. http://bem.github.io/bem-method/html/all.en.html http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/ http://nicolasgallagher.com/about-html-semantics-front-end-architecture/
I couldn't find any issue in the bootstrap repo about this. So I opened this feature request.
Advantages:
The naming convention at this time:
with BEM naming convention: