Monday, November 23, 2015

Cleaner button CSS code

When generating the CSS3 code for a button, support of the background gradient syntax(es) used by very old web browsers (that now have an insignificant market share) has been dropped. This result in less and cleaner code, and there is still the universal fallback to a plain solid color anyway.

Clean CSS3 gradients

This change was inspired by “PSA: don’t use gradient generators”.

2 comments:

  1. I love your website! Would it be OK to generate about 50 buttons a few times this week?"

    ReplyDelete