nib
nib copied to clipboard
border-radius inherit not being compiled
@import 'nib'
div
border-radius 5px
span
border-radius inherit
compiles into:
div {
-webkit-border-radius: 5px;
border-radius: 5px;
}
instead of:
div {
-webkit-border-radius: 5px;
border-radius: 5px;
}
div span {
-webkit-border-radius: inherit;
border-radius: inherit;
}
Nice catch! Wanna take a stab at a PR for fixing it?
I encountered this issue in my own stylesheets and was very surprised. Anything that a stylesheet processor doesn’t understand, it should leave alone.
Here’s the workaround I’m using, in case it helps others:
border-radius: '%s' % inherit
Got same issue. Spent an hours investigating it. What's a reason for removing this property?