Therefore, I would like to place a triangle above the image using CSS, exactly a triangle that contains some text. Something like that:
https://sketch.io/render/sk-11fa7e2aeba09cb08372f831f84d9af2.jpeg 
I got a little stuck, so here is what I got now:
.image { background: url('../image.jpg'); background-repeat: no-repeat; background-size: cover; position: relative; overflow: hidden; & .text { position: absolute; background-color: #FFF; bottom: 0; right: 0; padding: 10px 20px; } } <div class="image"> <span class="text"> <p>Text here</p> <p>And here</p> </span> </div>
How can I rotate / tilt / narrow the left side of the window.?
Thanks for the help!
source share