Answers for "border radius array css"

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

Browse Popular Code Answers by Language