border-X-style

border-X-style

CSS border-X-style Property
The CSS border-top-styleborder-right-styleborder-bottom-style and border-left-style properties are used to specify a border style for particular sides of an element. Alternately you can use the border-style property which is shorthand CSS for specifying all four border styles in one line.
CSS CODE EXAMPLE
<style type="text/css">
div#myDiv {
    border-top-style: dashed;
    border-right-style: dotted;
    border-bottom-style: solid;
    border-left-style: double;
    border-color: #66F;
    border-width: 4px;
    padding:16px;
}
</style>
<div id="myDiv">div content ...</div>
 
div content ...

Possible Values:

none •• hidden •• dotted •• dashed •• solid
double •• groove •• ridge •• inset •• outset


Related Properties

border-style
border-color
border-width

Related Posts :

  • counter-increment counter-increment CSS counter-increment Property The CSS counter-increment prope… Read More...
  • content content CSS content Property The CSS content property is used to generate conten… Read More...
  • bottom bottom CSS bottom Property The CSS bottom property is used to offset an element'… Read More...
  • caption-side caption-side CSS caption-side Property The CSS caption-side property is used to … Read More...
  • clip clip CSS clip Property The CSS clip property is used to clip regions of an eleme… Read More...

0 Response to "border-X-style"

Post a Comment