Answers for "add border around text css"

14

text border css

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

css text border

h1 {
  color: white;
  text-shadow:
   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;
}
Posted by: Guest on April-02-2021
0

how to add a border around text in html

<p style="border:3px; border-style:solid; border-color:#FF0000; padding: 1em;">
  First example with text surrounded by a red border.<br>This example also has multiple lines.
</p>
Posted by: Guest on July-19-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
0

how to write text on div border in html

<form>
<fieldset>
  <legend>Enter the details below</legend>
  <!--Inputs or anything-->
</fieldset>
</form>
Posted by: Guest on September-23-2021

Browse Popular Code Answers by Language