+ 1
Can we pull all the properties of border in single code?
4 Antworten
+ 4
Yes, you can use the border property for the following individual border properties:border-width, border-style (required), border-color.
For example: border: 7px solid green;
0
yes, you only need to be specific in the code arguments
0
.class{border: width style color;}
0
Generalise all that you want to have a same border by giving them a same class name then call it up in your css and assign all your border property values at once and it Will affect all of them throughout the whole page.