CSS Tutorial
Menu
CSS Advanced
Menu
CSS Responsive
Menu
CSS Grid
Menu
Outline width
The outline-width property defines the width of the outline, and consists of one of the following values:
- thin (typically 1px).
- medium (typically 3px).
- thick (typically 5px).
- A specific size (in px, pt, cm, em, etc).
The outline-width Property
A thin outline.
A medium outline.
A thick outline.
A 4px thick outline.
CSS
p.ex1 {
border: 1px solid black;
outline-style: solid;
outline-color:#03989E;
outline-width: thin;
}
p.ex2 {
border: 1px solid black;
outline-style: solid;
outline-color:#03989E;
outline-width: medium;
}
p.ex3 {
border: 1px solid black;
outline-style: solid;
outline-color: #03989E;
outline-width: thick;
}
p.ex4 {
border: 1px solid black;
outline-style: solid;
outline-color: #03989E;
outline-width: 4px;
}
Output
