I'm attempting to apply an outline to text using CSS.
The issue I'm facing is that the shadow doesn't work well for perfectly stroked text.
Is there a way to achieve this with just CSS?
Below is the code snippet I am currently using:
.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>