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.
Written by Marc Cantwell
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#