Set vertical gradient to element