Background color

How do I create a background with gradient color just by changing the property?