Answers for "how to add border radius in html"

CSS
1

css border-radius

.my-div{
  border: 2px solid #f00;
  border-radius: 50%;
  /* Specific Radius For Specific Border Side*/
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  /* 
    ShortHand 
    **border-radius: 5px 6px 7px 8px
  	5px => for top-left-radius
    6px => for top-right-radius
    7px => for bottom-left-radius
    8px => for bottom-right-radius
    **border-radius: 10px 20px
    10px => for top-left and top-right radius
    20px => for bottom-left and bottom-right radius

  */
}
Posted by: Guest on June-14-2021
13

css border radius

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
Posted by: Guest on June-26-2019

Code answers related to "how to add border radius in html"

Browse Popular Code Answers by Language