PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
SVG Colors
Beitrag
<blockquote data-quote="Metty" data-source="post: 2708476" data-attributes="member: 571615"><p>danke für die schnelle antwort.</p><p>aber blicke da nicht durch<img src="/styles/default/xenforo/smilies/confused.gif" class="smilie" loading="lazy" alt=":confused:" title="Confused :confused:" data-shortname=":confused:" />.</p><p>in die css habe ich das reingeschrieben.</p><p>[CODE].profile svg {</p><p> width: 100%;</p><p> position: absolute;</p><p> top: 0;</p><p> left: 0;</p><p>}</p><p>.profile .st0, .profile .st1 {</p><p> fill: url(#gradient-horizontal) #da1b60;</p><p> --color-stop-1: #ff8a00;</p><p> --color-stop-2: #da1b60;</p><p>}[/CODE]</p><p></p><p></p><p>und in die html.</p><p>[HTML]<svg version="1.1" viewBox="0 0 350 350" style="fill: url(#gradient-horizontal);"></p><p> <defs></p><p> <filter id="goo"></p><p> <feGaussianBlur in="SourceGraphic" stdDeviation="8" result="blur" /></p><p> <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 21 -9" result="cm" /></p><p> </filter></p><p> </defs></p><p><g filter="url(#goo)" > </p><p> <circle id="main_circle" style="fill: url(#gradient-horizontal);" class="st0" cx="171.5" cy="175.6" r="130"/></p><p> <circle id="circle" class="bubble0 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble1 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble2 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble3 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble4 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble5 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble6 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble7 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble8 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble9 st1" cx="171.5" cy="175.6" r="122.7"/></p><p> <circle id="circle" class="bubble10 st1" cx="171.5" cy="175.6" r="122.7"/></p><p></g> </p><p></svg>[/HTML]</p><p></p><p>wieso klappt das nicht.</p><p></p><p>ich möchte doch nur diesen code da drin haben farbcode rainbow effect.</p><p> background: -webkit-gradient(linear,right bottom,left top,from(#ff8a00),to(#da1b60));</p><p> background: linear-gradient(to top left,#ff8a00,#da1b60);</p></blockquote><p></p>
[QUOTE="Metty, post: 2708476, member: 571615"] danke für die schnelle antwort. aber blicke da nicht durch:confused:. in die css habe ich das reingeschrieben. [CODE].profile svg { width: 100%; position: absolute; top: 0; left: 0; } .profile .st0, .profile .st1 { fill: url(#gradient-horizontal) #da1b60; --color-stop-1: #ff8a00; --color-stop-2: #da1b60; }[/CODE] und in die html. [HTML]<svg version="1.1" viewBox="0 0 350 350" style="fill: url(#gradient-horizontal);"> <defs> <filter id="goo"> <feGaussianBlur in="SourceGraphic" stdDeviation="8" result="blur" /> <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 21 -9" result="cm" /> </filter> </defs> <g filter="url(#goo)" > <circle id="main_circle" style="fill: url(#gradient-horizontal);" class="st0" cx="171.5" cy="175.6" r="130"/> <circle id="circle" class="bubble0 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble1 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble2 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble3 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble4 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble5 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble6 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble7 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble8 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble9 st1" cx="171.5" cy="175.6" r="122.7"/> <circle id="circle" class="bubble10 st1" cx="171.5" cy="175.6" r="122.7"/> </g> </svg>[/HTML] wieso klappt das nicht. ich möchte doch nur diesen code da drin haben farbcode rainbow effect. background: -webkit-gradient(linear,right bottom,left top,from(#ff8a00),to(#da1b60)); background: linear-gradient(to top left,#ff8a00,#da1b60); [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ★ = 12, ◇ = 4 und die Hälfte von ★ zu ◇ addiert wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
SVG Colors
Oben