Below is the code I was using to do a Text Stroke outline of 1px. But how do I get the outline thicker? If I just replace all "1px" with "5px", the result looks crazy.
HTML
<div class="element">
Hello!
</div>
CSS
.element {
color:white;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
You can consider
text-stroke
but you need to pay attention to browser supportYou might use
SVG
as well, though it requires more code: