added x-platform support for select element gradient