content: "しもの";
のところを編集して走者名を変えれます
-webkit-text-stroke: 6px red;
の red を #000
とかにするほうが綺麗だと思います。(ここでは分かりやすいように赤にした).root::before, .root::after{ content: "しもの"; color: #fff; font-size: 40px; position: absolute; top: 0px; left: 8px; z-index: 9999; font-weight: bold; } .root::before{ -webkit-text-stroke: 6px red; } .root::after{ -webkit-text-stroke: 0; }
.root::before, .root::after{ content: "しもの"; color: #fff; font-size: 40px; position: absolute; top: 0px; left: 8px; z-index: 9999; font-weight: bold; } .root::before { text-shadow: 3px 3px 3px #000, -3px -3px 3px #000, -3px 3px 3px #000, 3px -3px 3px #000, 3px 0px 3px #000, -3px -0px 3px #000, 0px 3px 3px #000, 0px -3px 3px #000; } .root::after { text-shadow: 0; }