Home › Forums › CSS › How should one use borders? › Re: How should one use borders?
October 30, 2012 at 12:31 am
#112922
joshuanhibbert
Member
To address your first question: the order doesn’t matter. See here: http://jsfiddle.net/joshnh/3aq2n/
Secondly, the only value required is the border-style, as it is none by default. If you don’t set the colour or the width, then the defaults will be used. The default value of the border-color is equal to the color property, and the default value of the border-width is medium. See here: http://jsfiddle.net/joshnh/njzyv/
Also, for further reading, check this out: http://www.w3.org/TR/CSS2/box.html#border-properties