How do I create a CSS shape in which each side is transformed separately.
Something like the shape in the below image.
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.