Our designer has a vision for this:
However, I'm struggling to find a suitable method for creating the triangle crop effect:
- Implementing an
:after
element that spans the entire width and utilizes border tricks to form a triangle shape - Creating a large white
:after
element that is rotated yet doesn't obscure any text - Exploring potential solutions involving unknown magic filters
- Using a canvas to crop in JavaScript, then loading the image as a base64 url (which might be excessive)
Any thoughts or suggestions?