css - Why is linear-gradient invalid?
为情所困
为情所困 2017-05-16 13:38:09
0
1
1657

background-color: linear-gradient(to bottom, #fc8291, #fa213b);

This line of code is invalid on Chrome and Firefox. No background color is displayed, but background-color: red; can display red normally. Why is this?

为情所困
为情所困

reply all(1)
PHPzhong

Syntax error: no -color

background: linear-gradient(to bottom, #fc8291, #fa213b);
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template