CSS gradients for firefox 3.5

What I'm trying to do is create a gradient using only css ... What I do works in all browsers except firefox 3.5 ... here is the code:

#gradient { color: #fff; height:50px; padding:0; width:940px; margin:0 auto; background: -moz-linear-gradient(top, #CFE782 0%, #9BCB2A 2%,#5DA331 97%, #659635 100%);/* For Mozilla/Gecko (Firefox etc) */ } 

I left the background for other browsers ... And here is my question ...

Does anyone know why this does not work in Firefox 3.5 and what will work?

+4
source share
1 answer

As far as I know, the reason it doesn't work is that -moz-linear-gradient was only introduced in Firefox 3.6.

+9
source

Source: https://habr.com/ru/post/1314326/


All Articles