Instead of hard coding a CSS gradient, let ColorZilla do it automatically for you. This free service has a number of presets with different orientations. Or define your own colors and transitions. Plus, you can upload an image gradient to convert it to CSS. Do it all from their website without signing up for anything.