Last Updated: February 25, 2016
·
3.488K
· marccantwell

Prefix script for Twitter Bootstrap

This python script will iterate over each class in the Bootstrap framework and apply a tb- prefix. This helps when trying to namespace Bootstrap classes.

I didn't create this, but a big thanks to Francois Aucamp:

http://longtermcache.blogspot.com/2012/08/adding-prefix-to-bootstrap-css-classes.html

https://github.com/faucamp/bootstrap_namespace_prefixer

Bootstrap team should consider adding this to the customize and download options.

1 Response
Add your response

I agree they should allow for this! If you want to use Bootstrap within an existing framework, a simple clash could be the use of '.container', which many web developers use.

over 1 year ago ·