border-X-width

border-X-width

CSS border-X-width Property
The CSS border-left-widthborder-top-widthborder-right-width and border-bottom-width properties are all used to specify border sizes for their specific side of an element. To apply shorthand CSS for all of these use the border-width property instead.
CSS CODE EXAMPLE
<style type="text/css">
div#myDiv {
    border-color: #00BFBF;
    border-style: solid;
    border-left-width: 2px;
    border-top-width: 6px;
    border-right-width: 12px;
    border-bottom-width: 24px;
}
</style>
<div id="myDiv">div content ...</div>
 
div content ...

Possible Values:

Number
Example: "5px"

Thickness keyword
thin • • medium • • thick


Related Properties
border-width
border-style
border-color

Related Posts :

  • position position CSS position Property The CSS position property is used to specify how… Read More...
  • outline outline CSS outline Property The CSS outline property is shorthand for specifyi… Read More...
  • quotes quotes CSS quotes Property The CSS quotes property is used to specify the chara… Read More...
  • outline-width outline-width CSS outline-width Property The CSS outline-width property is used… Read More...
  • overflow overflow CSS overflow Property The CSS overflow property is shorthand for speci… Read More...

0 Response to "border-X-width"

Post a Comment