CSS 데모: outline-style 데모 버튼을 클릭해 보세요!
selector {
    outline-style: <outline-style>
}
/* 키워드 값 */
outline-style: none; /* 초깃값 */
outline-style: auto;
outline-style: dotted;
outline-style: dashed;
outline-style: solid;
outline-style: double;
outline-style: groove;
outline-style: ridge;
outline-style: inset;
outline-style: outset;

/* 전역 값 */
outline-style: inherit;
outline-style: initial;
outline-style: revert;
outline-style: revert-layer;
outline-style: unset;
<p class="auto">auto</p>
.auto {
    outline-width: 10px;
    outline-style: auto;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="dotted">dotted</p>
.dotted {
    outline-width: 10px;
    outline-style: dotted;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="dashed">dashed</p>
.dashed {
    outline-width: 10px;
    outline-style: dashed;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="solid">solid</p>
.solid {
    outline-width: 10px;
    outline-style: solid;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="double">double</p>
.double {
    outline-width: 10px;
    outline-style: double;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="groove">groove</p>
.groove {
    outline-width: 10px;
    outline-style: groove;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="ridge">ridge</p>
.ridge {
    outline-width: 10px;
    outline-style: ridge;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="inset">inset</p>
.inset {
    outline-width: 10px;
    outline-style: inset;
    background-color: #c2d089;
}   
실제 적용된 모습
<p class="outset">outset</p>
.outset {
    outline-width: 10px;
    outline-style: outset;
    background-color: #c2d089;
}   
실제 적용된 모습
button:focus {
    outline-style: none; /* 기본 스타일 제거 */
    box-shadow: 0 0 4px 2px #4CAF50; /* 대체 스타일 */
}