outline-color

outline-color

CSS outline-color Property
The CSS outline-color property is used to specify the color of an outline. 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.
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>
 
my content ...
my content ...

Possible Values:

Invert background
invert
(this inverts the element background color for use as the outline color)

Simple Color Name
redgreenblueetc...

RGB Color Value
rgb(0,0,255)rgb(0,255,0)rgb(255,0,0)etc...

Hexidecimal Color Value
#FF0#009900#0099FFetc...

Related Posts :

  • visibility visibility CSS visibility Property The CSS visibility property is used to hide … Read More...
  • top top CSS top Property The CSS top property is used to offset an element's top po… Read More...
  • overflow-y overflow-y CSS overflow-y Property The CSS overflow-y property is used to speci… Read More...
  • overflow-x overflow-x CSS overflow-x Property The CSS overflow-x property is used to speci… Read More...
  • z-index z-index CSS z-index Property The CSS z-index property is used to layer elements… Read More...

0 Response to "outline-color"

Post a Comment