In fact, you only need to set the shadow properties, the color of the shadow text, for example box-shadow, outlineor borderinherits the color used by the text, which is really the currentcolordefault :)
p {
text-shadow: 1px 2px ;
outline: solid;
outline-offset: 5px;
border:solid;
box-shadow:0 0 5px;
}
<p style="color: red">Red</p>
<p style="color: green">Green</p>
<p style="color: blue">Blue</p>
Run codeHide resultG-cyr source
share