search

Home  >  Q&A  >  body text

前端 - CSS3:请问设计图的圆角该如何测量?

最近学习了CSS3的border-radius属性,请问一下,怎样把设计图的圆角给测量出来呢?谢谢!

怪我咯怪我咯2866 days ago815

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 11:28:22

    Use auxiliary lines in PS to measure the radius of the fillet;
    In addition, border-radius can use the / tag, for example: border-radius: 35px 25px 30px 20px / 35px 25px 15px 30px;, so that the two lower rounded corners are ellipses, and the lower right corner x The axis radius is 30px, the y-axis radius is 15px, the x-axis radius of the lower left corner is 20px, and the y-axis radius is 30px. I hope it will be helpful to your study.

    reply
    0
  • Cancelreply