I never specify a unit for zero values, but some of the online CSS3
tools will add units to the generated code:

<http://www.colorzilla.com/gradient-editor/>
<http://css3generator.com/>

For example:

...
background: -moz-linear-gradient(top, #ffa443 0%, #ff7300 100%);
...

I assume that I can safely remove the percentage unit (%) from the
zero value, correct?

I assume that for any zero value, no matter the CSS3 context, the unit
can be omitted?

Are there any corner cases?

Thanks,
Micky
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to