Migrating from Bootstrap 2.3.x to 3
Because of dependency hell in deploying to Heroku, I found myself suddenly using bootstrap 3.
For me, the conversion was pretty simple:
- Change
<row-fluid>
to<row>
- Change
<span*>
to<col-md-*>
- Change
<offset*>
to<col-md-offset-*>
- In one instance, change
<hero-unit>
to<jumbotron>
The one bit that was a tad tricky was the header, which began to display vertically.. As my answer there says, I needed to change:
<ul class="nav pull-right">
to:
<ul class="nav pull-right navbar-nav">
Bootstrap’s page on migrating was the best resource.