Answers for "border radius on defined size"

CSS
3

css scaling border radius

// to scale a border-radius based upon the element size it is nested in. (rounded corners)
// simply change the vw number from .1 to 10 or whatever to change the amount of curve.
#box1 {
  border-radius: 2vw;
}
Posted by: Guest on July-03-2020

Code answers related to "border radius on defined size"

Browse Popular Code Answers by Language