<!DOCTYPE html> <html> <head> <style> div { margin-top: 21px; height: 30px; background-image: -moz-linear-gradient(center top, black, white); } </style> </head> <body> <div></div> </body> </html>