Answers for "how to create border in html"

5

how to add border in css

.div1{
	border: 10px;
    border-color: #000000;
    border-style: solid;
}
Posted by: Guest on January-04-2021
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

border in html

The CSS border property defines a border around an HTML element.
Use of CSS border property: 
p {
  border: 2px solid powderblue;
}
Posted by: Guest on September-20-2021

Code answers related to "how to create border in html"

Browse Popular Code Answers by Language