Skip to content
This provides a drop-in CSS code to do a direct migration from BootStrap 2 to BootStrap 3 without rewriting HTML.
CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
less
tests/examples
.gitignore
Gruntfile.js
LICENSE
README.md
bower.json
package.json

README.md

BootStrap 2 to 3 Porter

This provides a drop-in CSS code to do a direct migration from BootStrap 2 to BootStrap 3 without rewriting HTML.

Usage

  • Clone the repository to the stylesheets directory on your document root:

    git clone https://github.com/nettantra/bootstrap-2-to-3 /path/to/your/document/root/stylesheets
    
  • Just put the following HTML code below the link where you include the Bootstrap 3 CSS Files:

    <link href="/stylesheets/bootstrap-2-to-3/dist/bootstrap-2-to-3.css" rel="stylesheet">
    
  • For example your HTML should look something like this

    <!DOCTYPE html>
    <html lang="en">
      <head>
        ...
        ...
        <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
        <link href="/stylesheets/bootstrap-2-to-3/dist/bootstrap-2-to-3.css" rel="stylesheet">
        ...
        ...
      </head>
      <body>
        ...
        ...
      </body>
    </html>
    

License

Copyright (c) NetTantra Technologies


You can’t perform that action at this time.