Answers for "image css rounded corners"

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
2

how to round the edges of an image in HTML

img.rounded-corners {
  border-radius: 30px;
}
Posted by: Guest on September-08-2020
3

rounded immage

border-radius: 15px 50px 30px 5px; (first value applies to top-left corner, second value applies to top-right corner, third value applies to bottom-right corner, and fourth value applies to bottom-left corner)
Posted by: Guest on September-15-2020

Browse Popular Code Answers by Language