📜  css 缩放边框半径 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:26.134000             🧑  作者: Mango

代码示例1
// 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;
}