Answers for "make div round 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

round div

.circle {
  border-radius: 50%;
  height: 100px;
  width: 100px;
}
Posted by: Guest on April-25-2021
6

How to make a round corner in CSS

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