Answers for "how to make border around text"

CSS
14

text border css

h1 {
  -webkit-text-stroke: 1px black;
}
Posted by: Guest on April-08-2020
2

put an border around an text in css

text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
Posted by: Guest on April-15-2020
1

css text border

p{
  border: 1px solid #f00;
  /* 
    ShortHand 
    border: border-width border-style border-color
  */
}
Posted by: Guest on June-14-2021

Code answers related to "how to make border around text"

Browse Popular Code Answers by Language