Closed aentan closed 9 years ago
Thanks @aentan.
Do you have other any sources for the "not supported by Webkit" suggestion?
How about changing the name of the mixin to border-radius
. That would be consistent with other shorthands (border
, padding
, margin
).
Also, have a look at, say, https://github.com/davidtheclark/scut/blob/master/src/layout/_padding.scss to pick some implementation details -- here's what I'd like in the mixin:
n
to skip a side (generating no declaration).These shorthands are very simple, but one of their simple benefits over native shorthands is that they allow you to override several specific sides at once without having to override them all.
Demo http://sassmeister.com/gist/881e68672287d08817dc
border-radius
shorthand is not supported by Webkit.border-radius
shorthandThis mixin expands shorthand into longhand.