Headings & copy
A standard typographic hierarchy for structuring your webpages.
-
The entire typographic grid is based on two Less variables in our preboot.less file: @basefont
and @baseline
. The first is the base font-size used throughout and the second is the base line-height.
+
The entire typographic grid is based on two Less variables in our variables.less file: @basefont
and @baseline
. The first is the base font-size used throughout and the second is the base line-height.
We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.
-
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.
+
Bootstrap was built from 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.