Answers for "css border radius top only"

CSS
47

css rounded corners

/* Set rounded corners with border-radius property */

.class {
  border-radius: 4px;
}

.circle {
  border-radius: 50%;
}
Posted by: Guest on February-15-2020
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