css border with text code example
Example 1: text border css
h1 {
-webkit-text-stroke: 1px black;
}
Example 2: css text border
h1 {
color: white;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
Example 3: 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 */