Answers for "border radius top left css"

CSS
4

border radius css

/* Radius is set for all 4 sides */
border-radius: 10px;

/* top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5%;

/* top-left | top-right-and-bottom-left | bottom-right */
border-radius: 2px 4px 2px;

/* top-left | top-right | bottom-right | bottom-left */
border-radius: 1px 0 3px 4px;

/* The syntax of the second radius allows one to four values */
/* first radius / radius */
border-radius: 10px / 20px;
/* first radius => corner point to left or right side*/
/* second radius => corner point to top or bottom side*/
/* radius => corner point to both sides*/
Posted by: Guest on February-06-2021
1

css border radius top

.div {
	border-radius: 15px 50px 30px 5px; /*TL TR BR BL*/
  	border-radius: 15px 50px 30px; /*TL TRBL BR*/
  	border-radius: 15px 50px; /*TLBR TRBL*/
  	border-radius: 15px; /*All corners*/
}
Posted by: Guest on July-18-2021

Browse Popular Code Answers by Language