mathiasbynens / jquery-placeholder

A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet
https://mths.be/placeholder
MIT License
3.98k stars 1.34k forks source link

feature request: option for placeholder class in native-supporting browsers #288

Open stratboy opened 8 years ago

stratboy commented 8 years ago

Hi, thank you for your plugin.

My issue is that placeholder native-supporting browsers still have issues with the ability to style the placeholder itself. For example chrome doesn't eat really well the :placeholder-shown and ::placeholder pseudos. So the .placeholder class would still be useful. It could eventually be an option.

Thank you, regards