outline-width
CSS outline-width Property
The CSS outline-width property is used to specify the width of an outline drawn onto an element. Outlines are somewhat similar to borders, however outlines are drawn on the outside of elements and do not affect the position or size of the element.
Example: "5px"
Thickness keyword
thin • • medium • • thick
CSS CODE EXAMPLE
<!DOCTYPE>
<style type="text/css">
.class1 {
outline-color: #09F;
outline-width: 7px;
outline-style: inset;
border-color: #F00;
border-width: 7px;
border-style: inset;
padding: 5px;
}
</style>
<p class="class1">my content ...</p>
<p class="class1">my content ...</p>
<style type="text/css">
.class1 {
outline-color: #09F;
outline-width: 7px;
outline-style: inset;
border-color: #F00;
border-width: 7px;
border-style: inset;
padding: 5px;
}
</style>
<p class="class1">my content ...</p>
<p class="class1">my content ...</p>
my content ...
my content ...
Possible Values:
NumberExample: "5px"
Thickness keyword
thin • • medium • • thick
0 Response to "outline-width"
Post a Comment