DEV Community

Alex Carpenter
Alex Carpenter

Posted on • Originally published at

How to create skewed backgrounds with CSS

View the demo code

Top comments (1)

supremebeing09 profile image
nils binder 🏳️‍🌈

Very cool video. I should start working more with ClipPath. Big praise especially for the documentation of the individual corners in the comments. This helps your colleagues a lot.
If you prefer a fixed angle in the diagonal, you can solve this with CSS-Transoform. I recently wrote a tutorial about this. I would be interested to hear what you have to say about it.