Adding gradients and minor fixes

Feat @Larry006
It does, in modern browsers. Not sure about the last line though.