border-X-style
CSS border-X-style Property
The CSS border-top-style, border-right-style, border-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.
double •• groove •• ridge •• inset •• outset
border-color
border-width
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#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 •• soliddouble •• groove •• ridge •• inset •• outset
Related Properties
border-styleborder-color
border-width
0 Response to "border-X-style"
Post a Comment