Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eurticket
· 9y ago · 0 comments
> border-right: none;
Shouldn't this be border-right: 0;
Comments
[–]
AllThingsSmitty
9y ago
Hmm, interesting. Since `border-right` is shorthand, we're saying that `0` as a value is applied to `border-right-width`, `border-right-style`, and `border-right-color`. The `0` value can be applied to `width` but not to the other properties.
[–]
eurticket
OP
9y ago
That is interesting! Why can't it be applied to any other properties?