0

border-style-right vs. border-right

Hola, any difference between those two? border-style-right vs. border-right It seems they respond the same in playground therefor i can "save" bytes not using the word "style", right? Thanks HLS

23rd May 2019, 3:11 PM
Leonardo
Leonardo - avatar
1 Resposta
+ 3
Hola, not quite. Only if you want to use the style without the width and the color of the border: "The border-right property is a shorthand property for (in the following order): border-right-width, border-right-style (required), border-right-color." See more: https://www.w3schools.com/cssref/pr_border-right.asp
26th May 2019, 9:17 PM
dozule
dozule - avatar