Answers for "div with curved border"

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

css rounded corners

/* Use border-radius property */

.class {
  border-radius: 5px;
}

.circle {
  border-radius: 50%;
}
Posted by: Guest on July-25-2020
5

border radius css

border-radius: 5px; /* The corners will be round */
Posted by: Guest on October-08-2020

Browse Popular Code Answers by Language