Hi I was wondering is there anyway to do gradient backgrounds on a webpage?

I would like to a do a vertical grandient as the background of a webpage. I know you could use a tiled background but the pages are of various lengths, so I would prefer to use a code solution.

Can you do it with CSS?

Thanks in advance.