Using the ultimate CSS gradient generator

Since the gradient specification and syntax is somewhat lengthy and isn't consistent between browsers, the easiest way to use it is through an app that will create the CSS output for us. Normally, I shy away from things such as these, as I prefer to write my own code, but I will make an exception for gradients. The ultimate CSS gradient generator seems to work very well for me. The site is www.colorzilla.com/gradient-editor/. The gradient that we're shooting for is fairly simple. It goes from light blue at the top to darker blue at the bottom:

Let's go to www.colorzilla.com/gradient-editor/. The tool ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.