Answers for "css div border"

CSS
4

css border botttom

div {
  border-bottom: 4px dashed blue;
  background-color: gold;
  height: 100px;
  width: 100px;
  font-weight: bold;
  text-align: center;
}
Posted by: Guest on March-06-2020
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
0

CSS Border

h1 {border-top: 5px solid red;}
h2 {border-top: 4px dotted blue;}
div {border-top: double;}
Posted by: Guest on August-26-2021
-1

css border

/*Chill border for everyday usage */
border: dashed 2px rgb(168, 219, 231);
border-radius: 10px;
Posted by: Guest on September-03-2021

Browse Popular Code Answers by Language