Answers for "border w3"

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
1

css border

p{
  border: 1px solid #f00;
  /* Set Border For Only Specific Side */
  border-left: 1px solid #00f;
  border-right: 1px solid #00f;
  border-top: 1px solid #00f;
  border-bottom: 1px solid #00f;
  /* Another Rules Can Be Applied*/
  border-top-style: solid dashed dotted;
  border-top-width: 2px;
  border-top-color: #00f;
  /* Apply Also For Right, Bottom And Left*/
}
/* 
  Border ShortHand 
  border: border-width border-style border-color
*/
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language