如何使用样式在背景中绘制自定义形状

时间:2018-10-11 06:24:33

标签: css3

我试图通过css来达到以下形状,但是它来不及了,实际的曲线可以提示如何达到目的

示例图片

enter image description here

我的代码:

 background: red;
    margin-right: -16px;
    width: 80px;
    height: 54px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 79px;

输出

enter image description here

0 个答案:

没有答案
相关问题