<!doctype html> <!-- Derived from http://a-ja.net/newgrad.html --> <style> div { height: 200px; width: 100px; background: -moz-linear-gradient(top, yellow 0%, blue 100%); } </style> <div></div>