thanks @avivtech for the bordertip.
but how exactly works it?
For the div above image or ‘clipping picture’ turning a div 45°°. and than use overflow ‘none’ should need maybe an extra option in interaction to use anchorpoints of the div or eather create extra anchorpoints… to grow ‘scale’ a div ‘triangle’ bigger in stead of a square div rotated. 45 degree…
Now a triangle.svg can change from width and height what is more correct to teach students.
@avivtech do you have a solution for this: backgroundimage with angle https://prisonescape.nl is an example not made in webflow.
but the problem is the backgroundimage does not fit into your ‘border-trick’
so this is my result for ‘prison escape’-test : the background-image on ‘cover’ isn’t cover at all… because with your method ‘border-trick’ the image comes back… strange: bug into webflow?
I did not make it myself… I want to try to make this same effect…
I tried your example but found a workaround for the problem backgroundimage ‘cover’: custom with 100vw and 100vh. But this should not be the normal behavior of the ‘Cover’ isn’t it… because the section is also 100vw (block) and the height 100vh!
I posted this as bug of the background-image Background-image with bottom angle: box-sizing option needed for correct border-bottom angle-effect
I found a solution to get the text in the right position: section 100vh relative, with a div 20vh absolute down: no I give only the div of 20vh a border the way you suggest: 100vw transparant and 20vh height with a color.
I found out in Codepen that the first does not yet works for background-image (= can you help me to let it work? + in webflow: to get no problem to center text above a section ‘with angle’ ) https://codepen.io/karelrosseel-prive/pen/qwxBWm