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;
<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>
/*All types of border*/
p.dotted {border-style: dotted;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
<form>
<fieldset>
<legend>Enter the details below</legend>
<!--Inputs or anything-->
</fieldset>
</form>
Code Example |
---|
Html :: git markdown relative link |
Html :: javascript select option attribute |
Html :: bootstrap background color |
Html :: a go to section |
Html :: how to check if html table is empty using jquery |
Html :: html background color |
Html :: how to set logo on site tab |
Html :: v-select reduce |
Html :: oldest person |
Html :: bootstrap 5.0 css cdn |
Html :: html image onclick |
Html :: cache control html |
Html :: how to automatic get boilerplate code for html in vc code |
Html :: HTML Tag Checker Online |
Html :: elements should have autocomplete attributes |
Html :: table row html |
Html :: fa icon person |
Html :: h4 in html |
Html :: ancres html |
Html :: breaks html |
Html :: bootstrap starter template |
Html :: how to add function to button in html |
Html :: fibonacci series in html |
Html :: range input html |
Html :: css stick div to bottom of page |
Html :: object htmldivelement to string |
Html :: set text of file input |
Html :: strong tag html |
Html :: html images |
Html :: page auto refresh |