Implemented linear gradient with location