• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Probem mit CSS (Farbverlauf)

jenney123

Neues Mitglied
Hallo
ich habe ein Problem mit dem Farbverlauf mit css. Meine Entwicklungsumgebung ist Netbeans 7.0.1.
Browser: Firefox.

Code:
background: #a90329;
background: -moz-linear-gradient(top,  #a90329 53%, #000000 99%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(53%,#a90329), color-stop(99%,#000000));
background: -webkit-linear-gradient(top,  #a90329 53%,#000000 99%);
background: -o-linear-gradient(top,  #a90329 53%,#000000 99%);
background: -ms-linear-gradient(top,  #a90329 53%,#000000 99%);
background: linear-gradient(top,  #a90329 53%,#000000 99%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#000000',GradientType=0 );

Ergebnis:
http://www.picfront.org/d/8BzO

Ich habe schon versucht, die position auf absolute und top / bottom auf 0 zu setzen.
Wenn ich es diagonal mache, funktioniert es ohne Probleme.

Edit: Problem gelöst:


[/Code]
background-attachment: fixed; background-size: 100%;
Code:
[COLOR=#000000][FONT=MS Shell Dlg 2]
[/FONT][/COLOR]
 
Zuletzt bearbeitet:
Zurück
Oben