Home › Forums › CSS › Cutting image dinamically › Reply To: Cutting image dinamically
November 9, 2016 at 2:54 am
#247663
Participant
Well… not with a transform that I can think of (someone else might) but another approach is to use a clip-path
. Inside an SVG (not through CSS) is preferable because that has pretty good support.
The triangle (in fact, the polygon describes everything but the triangle) is responsive to the image but unfortunately the SVG itself is not because a width and height have to be given for it to show correctly.
Maybe another member has some more trickery up their sleeve when it comes to this.