libcss2less
libcss2less copied to clipboard
Repeats same property when found duplicate selector
I tried:
#container-fluid,
#row-fluid,
#row-fluid > .span2,
#sidebar-nav,
#wrapper {
height: 100%;
min-height: 100%;
}
#container-fluid,
#row-fluid,
#row-fluid > .span2,
#sidebar-nav,
#wrapper {
height: 100%;
min-height: 100%;
}
#container-fluid,
#row-fluid,
#row-fluid > .span2,
#sidebar-nav,
#wrapper {
height: 100%;
min-height: 100%;
}
and it produces: here height and min-height is repeating thrice, because above same selector repeating thrice
#container-fluid,#row-fluid,#row-fluid &>.span2,#sidebar-nav,#wrapper {
height: 100%;
min-height: 100%;
height: 100%;
min-height: 100%;
height: 100%;
min-height: 100%;
}
Or, more simply:
#hello {
color: blue;
}
#hello {
color: blue;
}
produces:
#hello {
color: blue;
color: blue;
}
I don't think this is a bug. The root cause of the problem is that your original CSS is bad.