F
F
feelsgood2016-12-07 21:43:43
css
feelsgood, 2016-12-07 21:43:43

"Striped" gradient in Firefox?

There is a gradient:

background: linear-gradient(to right, #131c27 0%, #412513 100%);

Chrome
7fb72b6d8d4b41c89748ff9e3aba1f76.png
Firefox
290e5fb0f60e452faab34d6cef4c3e9b.png
As you can see, in Firefox the gradient "streaks". Is there a way to remove the stripes and smooth out the gradient?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Localhost, 2016-12-07
@selo

I think yes, register css for different browsers.

background: rgb(19,28,39); /* Все браузеры*/
background: -moz-linear-gradient(left,  rgba(19,28,39,1) 0%, rgba(65,37,19,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(19,28,39,1) 0%,rgba(65,37,19,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(19,28,39,1) 0%,rgba(65,37,19,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#131c27', endColorstr='#412513',GradientType=1 ); /* IE6-9 */

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question