Answers for "how to round corners 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
6

How to make a round corner in CSS

#roundCornerID {
    border-radius: 30%;
    width: 200px;
    height: 150px;   
}
Posted by: Guest on August-01-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
0

css rounded corners

#div1{
    width: 150px;
    height: 150px;
    background: #05ffb0;
    border-radius: 20px;
}
Posted by: Guest on October-13-2021

Browse Popular Code Answers by Language