📜 ⬆️ ⬇️

Bootstrap 3.1 released

Today we released Bootstrap version 3.1.0. It added several new features, many fixes and improvements, and updated the tools to build the project. Major changes include documentation, Sass support, and some other improvements. More under the cut.


New Documentation


image

The most noticeable changes were made to our documentation. In the current version, we have completely updated the help system, focusing on the documentation, and not on its wrapper. The new design of the main returns a brief overview of key functions and shows some interesting examples of use.
')

SASS Official Support


image

The main innovation of version 3.1.0 is official support for Sass. A few weeks ago we turned to the most popular port on GitHub and made it official - Bootstrap is now available on Sass. Instead of inflating the main branch of the project with the support of both Less and Sass, for the time being we will continue to conduct them as separate projects. Links to both versions are on the main, enjoy!

New use cases


image

We have added three new examples: Blog, Cover and Toolbar. Each example is a separate page that will help you quickly and easily understand Bootstrap. All of them are adaptive and ready for immediate use.

Improvements


Several existing Bootstrap modules have received updates:



In general, these changes make the framework components more focused, reliable, and easy to use. A list of all changes can be viewed in the release on GitHub .

Remote content of modal windows


One of the most important improvements is to modal windows. If you are currently using the remote function on your modal windows, be careful because this release may break them. Yes, this change breaks backward compatibility, but we had to make it, because it fixes an even more long-standing missed error. We apologize for the inconvenience this may cause you, but we have missed this fix in the last few patch releases.

You can read about the changes made by this fix here .

New license


We were constantly discussing the possibility of changing the license with the Apache License 2.0, and thanks to all the participants of this project and the core team, we finally decided! Bootstrap 3.1.0 is under the MIT license , which will allow the maximum number of people to use Bootstrap in their projects. Thanks to everyone who made this happen.

Improved build tools


We are constantly trying to improve our Bootstrap development tools, and version 3.1.0 brings a lot of updates to this process.

Attention! If you are working with Bootstrap locally, do not forget to delete the node_modules/ directory and run npm install before starting with 3.1.0.

Download Bootstrap


You can view a list of all changes at the bottom of this page.

Download

The repository of the Less-version of the project on GitHub

The repository of the Sass version of the project on GitHub

You can also use the CDN:
 <!--     CSS --> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> <!--   --> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css"> <!--     Javascript --> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> 


Video from the original article:


PS: Request translation errors and misprints to report to the LAN, so as not to clutter up comments.

Source: https://habr.com/ru/post/210902/


All Articles