How to transform each side of a shape separately?

后端 未结 4 892
深忆病人
深忆病人 2020-12-04 01:18

How do I create a CSS shape in which each side is transformed separately.

Something like the shape in the below image.

4条回答
  •  无人及你
    2020-12-04 01:52

    Have a look here for explanation see here. Basically you will need a rectangle and four triangles or a parallelogram and two rectangles. Depends what you want to achieve.

提交回复
热议问题