Tell me please, how to give form to that block in your css. In fact it is necessary to change the form from the div.
Here is a picture:
Know that it is possible to solve this question the usual svg position:absolute, but interested more in the sophisticated decision by the changing angles at the div.
Block this block of pseudo-elements before and after is also not desirable, maybe you want to save the transparency at the edges.
To paint a gradient and add a shadow can)
Thanks in advance! All the world!