I am working with Bourbon Neat to build my css file but I looking at redundant css being populated.
scss file has the following:
.col-9 {
@include span-columns(9);
}
.col-3 {
@include span-columns(3);
@include omega();
}
CSS output for the following:
.col-9 {
float: left;
display: block;
margin-right: 1.69492%;
width: 74.57627%;
}
.col-9:last-child {
margin-right: 0;
}
.col-3 {
float: left;
display: block;
margin-right: 1.69492%;
width: 23.72881%;
margin-right: 0;
}
.col-3:last-child {
margin-right: 0;
}
The following css output is bloated as the following css prop
float: left;
display: block;
and the col-3:last-child and col-9:last-child can also be grouped
Am I doing something wrong? How can I structure the scss to get the desired output.
.col-9,
.col-3 {
float: left;
display: block;
}
.col-9 {
margin-right: 1.69492%;
width: 74.57627%;
}
.col-3 {
margin-right: 1.69492%;
width: 23.72881%;
margin-right: 0;
}
.col-9:last-child, .col-3:last-child {
margin-right: 0;
}