-
Bootstrap was built with Preboot, an open-source pack of mixins and variables to be used in conjunction with LESS, a CSS preprocessor for faster and easier web development.
-
Check out how we used Preboot in Bootstrap and how you can make use of it should you choose to run LESS on your next project.
+
Bootstrap was built with Preboot, an open-source pack of mixins and variables to be used in conjunction with Less, a CSS preprocessor for faster and easier web development.
+
Check out how we used Preboot in Bootstrap and how you can make use of it should you choose to run Less on your next project.
How to use it
-
Use this option to make full use of Bootstrap's LESS variables, mixins, and nesting in CSS via javascript in your browser.
+
Use this option to make full use of Bootstrap's Less variables, mixins, and nesting in CSS via javascript in your browser.
<link rel="stylesheet/less" type="text/css" href="less/bootstrap.less" media="all" />
<script type="text/javascript" src="js/less-1.0.41.min.js"></script>
-
Not feeling the .js solution? Try the LESS Mac app or use Node.js to compile when you deploy your code.
+
Not feeling the .js solution? Try the Less Mac app or use Node.js to compile when you deploy your code.
What's included
Here are some of the highlights of what's included in Twitter Bootstrap as part of Bootstrap. Head over to the Bootstrap website or Github project page to download and learn more.
Color variables
-
Variables in LESS are perfect for maintaining and updating your CSS headache free. When you want to change a color value or a frequently used value, update it in one spot and you're set.
+
Variables in Less are perfect for maintaining and updating your CSS headache free. When you want to change a color value or a frequently used value, update it in one spot and you're set.
// Links
@linkColor: #8b59c2;
@@ -1191,7 +1191,7 @@ Lorem ipsum dolar sit amet illo error ipsum verita
Commenting
-
LESS also provides another style of commenting in addition to CSS's normal /* ... */
syntax.
+
Less also provides another style of commenting in addition to CSS's normal /* ... */
syntax.
// This is a comment
/* This is also a comment */