css put border on text code example
Example 1: text border css
h1 {
-webkit-text-stroke: 1px black;
}
Example 2: how to make a text with a border in css
h1{
width:30px;
margin-top:-10px;
margin-left:5px;
background:white;
}
/* Change the values to achieve what design you want */