Answers for "rounding corners IN CSS"

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

button edges rounded css

button {
  border-radius: 25px;
}
Posted by: Guest on November-05-2020
1

css round element

/* I find it best to use pixels*/
    border-radius: 5px;

/* Percents don't work well with elements that aren't square*/
    border-radius: 10%;
Posted by: Guest on May-07-2021

Browse Popular Code Answers by Language