I'm trying to add an outline to text using CSS.
The problem is that the shadow not so good for stroke text perfectly.
Is there any way to do this with pure css ?
Here is my code :
.text-stroke {
font-size: 200px;
color: #fff;
text-shadow: -1px -1px #2d4c79,
1px 1px #2d4c79,
-2px 2px #2d4c79,
2px -1px #2d4c79;
}
<div class="text-stroke">Text</div>