CSS 라이브 데모: -webkit-text-stroke 데모 버튼을 클릭해 보세요!
selector {
    -webkit-text-stroke: <'-webkit-text-stroke-width'> || <'-webkit-text-stroke-color'>;
    /*
        이 값은
        -webkit-text-stroke-width,
        -webkit-text-stroke-color 속성의 값입니다.
        지정하는 속성 값의 순서는 상관없습니다.
        지정하지 않은(생략한) 속성의 값은 초깃값이 적용됩니다.
    */
}
/* width | color */
-webkit-text-stroke: 3px magenta;
-webkit-text-stroke: thin magenta;
-webkit-text-stroke: medium magenta;
-webkit-text-stroke: thick magenta;

/* color | width */
-webkit-text-stroke: magenta 3px;
-webkit-text-stroke: rgba(0, 0, 0, 0.6) 3px;

/* width: % 단위 적용 불가 */
-webkit-text-stroke: 5% magenta;

/* 글로벌 값 */
-webkit-text-stroke: inherit;
-webkit-text-stroke: initial;
-webkit-text-stroke: revert;
-webkit-text-stroke: revert-layer;
-webkit-text-stroke: unset;
webkit-text-stroke Overlapping Paths
Overlapping Paths 캡쳐 화면
<style>
    @import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,900;1,900&display=swap');
    .text {
        font-family: "Roboto", sans-serif;
        font-size: 47px;
        font-weight: 900;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px red;
    }
</style>
<p class="text">ABCDEF</p>
실제 적용된 모습
<style>
    .text {
        font-size: 47px;
        font-weight: 900;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px red;
    }
</style>
<p class="text">TEXT STROKE</p>
실제 적용된 모습
<style>
    .text {
        font-size: 47px;
        font-weight: 900;
        color: #fff;
        -webkit-text-stroke: 1px red;
        text-shadow: 1px 4px red;
    }
</style>
<p class="text">TEXT STROKE</p>
실제 적용된 모습
<style>
    .text {
        font-size: 47px;
        font-weight: 900;
        color: #fff;
        -webkit-text-stroke: 5px transparent;
        -webkit-background-clip: text;
        background-clip: text;
        background-image: linear-gradient(to bottom, red, blue);
    }
</style>
<p class="text">TEXT STROKE</p>
실제 적용된 모습