DEV Community

loading...

Discussion on: Possibly the Most Useful CSS Trick

Collapse
mostafasalama profile image
Mostafa Salama

Please note that if the user clicks the spacebar, the placeholder will be hidden and the input is empty, so you need to make sure that the input has actual characters not white spaces.