I’m creating a small website and i wanted to experiment with the modern non rectangular image approach on hero images, but i’m not sure how to go about it.Here is an example of what i’m trying to achieve.Any guidance would be highly appreciated.
I am not sure why you’ve received so many down votes, but I know the solution to this. To achieve something like that type of design, you’ll need to utilize an SVG. A Scale-able Vector Graphic(SVG) is an element in HTML used to draw a complex path, however many people utilize online tools pr programs like GIMP, Adobe Illustrator, or Inkscape to make them. You draw them in a program and export the path data to your HTML Document. I hope this helps you and your growing site. https://inkscape.org/ — Inkscape https://www.gimp.org/ — GIMP
A great way to do that is with an SVG Clipping Path. This website here allows you to create the path you want and then it will automatically generate the CSS you need to create it.
3
Answers
I am not sure why you’ve received so many down votes, but I know the solution to this. To achieve something like that type of design, you’ll need to utilize an SVG. A Scale-able Vector Graphic(SVG) is an element in HTML used to draw a complex path, however many people utilize online tools pr programs like GIMP, Adobe Illustrator, or Inkscape to make them. You draw them in a program and export the path data to your HTML Document. I hope this helps you and your growing site.
https://inkscape.org/ — Inkscape
https://www.gimp.org/ — GIMP
Use a png mask image on the picture.
https://i.stack.imgur.com/ReAR9.png
A great way to do that is with an SVG Clipping Path. This website here allows you to create the path you want and then it will automatically generate the CSS you need to create it.
https://bennettfeely.com/clippy/