圆角: border-radius

  1. border-radius: 左上 右上 右下 左下
    border-radius: 10px 20px 30px 40px;的结果为

    CSS3圆角边框

  2. 左上: border-top-left-radius: 10px; 等价于 border-radius: 10px 0 0 0;

    右上: border-top-right-radius: 10px; 等价于 border-radius: 0 10px 0 0;

    左下: border-bottom-left-radius: 10px; 等价于 border-radius: 0 0 0 10px;

    右下: border-bottom-right-radius: 10px; 等价于 border-radius: 0 0 10px 0;

  3. border-radius: 10px 40px 100px; 为 左上 右上左下 右下

    border-radius: 10px 40px; 为 左上右下 右上左下

    border-radius: 10px; 为 四个圆角值相同

相关文章:

  • 2022-12-23
  • 2021-11-08
  • 2021-12-04
  • 2021-12-14
  • 2022-12-23
  • 2021-11-09
  • 2021-11-20
  • 1970-01-01
猜你喜欢
  • 2021-12-14
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
相关资源
相似解决方案