non
esattamente quello che stai cercando, ma prova:
<svg viewbox="0 0 100 80">
<defs>
<filter id="f1" x="0" y="0" width="140%" height="200%">
<feOffset result="offOut" in="SourceAlpha" dx="8" dy="6" />
<feGaussianBlur result="blurOut" in="offOut" stdDeviation="10" />
<feBlend in="SourceGraphic" in2="blurOut" mode="normal" />
</filter>
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" />
</linearGradient>
<pattern x="-8" id="waves" patternUnits="userSpaceOnUse" width="50" height="20">
<path d="M0 10 V5 Q2.5 3.5 5 5 T10 5 V10" fill="url(#grad1)" />
</pattern>
</defs>
<rect x="0" y="3" width="200" height="20" fill="url(#waves)" filter="url(#f1)" />
</svg>
Modifica parametri numerici individualmente per vedere l'effetto.
fonte
2016-05-27 13:47:32
Che aspetto avrebbe se avessi un gradiente e un motivo? –
gradiente come nell'immagine sopra e modello come u esegui il codice sopra – Shahid
Questo è solo un gradiente. Dov'è il modello. –