Bootstrap is now built using LESS. This means that CSS is built using variables and various files, which can sometimes overlap or have values set in different places.
Firstly, it uses normalize.less , which ensures that everything returns to the basic standard.
Line 1 - 13
// // 1. Set default font family to sans-serif. // 2. Prevent iOS and IE text size adjust after device orientation change, // without disabling user zoom. // html { font-family: sans-serif; // 1 -ms-text-size-adjust: 100%; // 2 -webkit-text-size-adjust: 100%; // 2 }
The body is then installed in the scaffolding.less file, which sets up all the basics for loading.
Line 26 - 33
body { font-family: @font-family-base; font-size: @font-size-base; line-height: @line-height-base; color: @text-color; background-color: @body-bg; }
This also happens in the SASS compiler.
source share