How to get a border on your text css code example
Example 1: text border css
h1 {
-webkit-text-stroke: 1px black;
}
Example 2: 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>