I want to remove border radius from all elements in Bootstrap. Thus, I created custom-mixins.less and placed the following lines in it, hoping that it would overwrite the original .border-radius mixin, but did not.
// Border Radius .border-radius(@radius) { }
So, I tried the following lines as alternatives that really worked.
// Border Radius .border-radius(@radius) { @radius : 0px; -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; }
I tried several mixins at http://less2css.org . It seems that less than rewriting mixins, it adds all the properties from a later mixin to the original. Are there any cleaner and simpler solutions for this?
source share