169k views
2 votes
The webkit gradient() function can have multiple color stops, but the location can be entered only as a ____ of the objects width.

User Capricorn
by
7.6k points

1 Answer

1 vote

The WebKit gradient() function can have multiple color stops, but the location can be entered only as a percentage of the object’s width.

As a reference, here is the syntax for the function.

-webkit-gradient(radial, inner-center, inner-radius, outer-center,

outer-radius, from(color), color-stop(percent, color), to(color))

User Ilya  Lapan
by
6.1k points