0

I've got two images on top of my webpages. One is a rectangle-shaped JPG file banner, the other is a wave-shaped SVG vector file. Similar to how Adobe Illustrator has its pathfinder tool to cutout shapes: Is there any way to invert-cutout the wave from the banner, using any sort of CSS filter or blend mode or something?

The reason I want to do this using CSS is because it would only require me to change one HTML template for the banner. Otherwise I would have to edit 125+ unique banner image files. Editing the wave file is not a problem if needed, as I would only need it once for the banner template.

Example banner:

enter image description here

Example wave:

enter image description here

Desired result: (the banner should look like this)

enter image description here

Al John
  • 612
  • 5
  • 24

1 Answers1

-1

I think you can use clip-path
https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path

Damien STEPHAN
  • 113
  • 1
  • 9