0

I've been asked to update a WordPress theme from 2015 and I see that inputs, selects and textareas are styled with the following property:

background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); /* Removing the inner shadow on iOS inputs */

As the inline comment says, this was apparently added for removing the inner shadow on iOS inputs. I don't own any iOS device and my question is, is this line necessary right now for the latest versions of Safari?

Thanks in advance

leemon
  • 759
  • 3
  • 14
  • 44

1 Answers1

1

It's not only for Saffari, webkit also works for chrome. Check this: What are -moz- and -webkit-? But that code doesn't remove anything.!

SoliMoli
  • 732
  • 2
  • 5
  • 24