Answers for "round corner 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
4

how to round the corners of a div outline in css

div {
  outline: auto;
  outline-style: round;
}
Posted by: Guest on September-12-2020
4

css rounded corners

/* Use border-radius property */

.class {
  border-radius: 5px;
}

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