I'm working with Bootstrap using LESS, I'm new to LESS, so I have question.
For example, I want to add padding property to body.
body {
margin: 0;
font-family: @baseFontFamily;
font-size: @baseFontSize;
line-height: @baseLineHeight;
color: @textColor;
background-color: @bodyBackground;
}
In bootstrap.less I made this:
@import "bootstrap/scaffolding.less";
body {
margin: 0;
font-family: @baseFontFamily;
font-size: @baseFontSize;
line-height: @baseLineHeight;
color: @textColor;
background-color: @bodyBackground;
padding: 50px;
}
But in compiled CSS files I have two body classes, one is original and then my own. How to add property to a class without duplication? Thank you.