Good question! I'm afraid I think there is no home way. There should be syntax like
propertyname: inherit-from(.classname); // Fictitious example! Does not work
which does not exist in CSS itself.
, , CSS, LeSS. LeSS "Mixins" , , . :
.rounded_corners (@radius: 5px) {
-moz-border-radius: @radius;
-webkit-border-radius: @radius;
border-radius: @radius;
}
.rounded_corners;
}
rounded_corners , #header WordPress.