Answers for "how to give text an outline in html"

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
1

how to apply outline to text in html css

#example3{
	color: black;
	font-size: 34px;
	-webkit-text-stroke: 1px black;
	-webkit-text-fill-color: white;
}
Posted by: Guest on December-02-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

Code answers related to "how to give text an outline in html"

Browse Popular Code Answers by Language