SVG triangle separator with image background
问题 Well, I'm trying to create an SVG section separator. It worked like this: <section id="section1"> </section> <svg width="100%" height="100" viewBox="0 0 100 102" preserveAspectRatio="none"> <path d="M0 0 L50 100 L100 0 Z" /> </svg> <section id="section2"> </section> So far, so good. But now, I want to add a background to section1, including the SVG "pick", in example: All I've accomplished is (really bad results): Adding a background: url(img) to the element And: Justing adding a BG to