Answers for "how to giv eoutline in html text"

CSS
0

html font white text with black border

h1 {
    color: yellow;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
<h1>Hello World</h1>
Posted by: Guest on May-27-2020
0

text outline html

.stroke
{
    color: white;
    text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;  
}
Posted by: Guest on March-31-2020
7

outline text bootstrap

<span class="border">Text</span>
<span class="border-top">Text</span>
<span class="border-right">Text</span>
<span class="border-bottom">Text</span>
<span class="border-left">Text</span>
Posted by: Guest on May-29-2020

Browse Popular Code Answers by Language