Clickable inputs


/ Published in: CSS
Save to your folder(s)

For some reason, most browsers don’t apply a pointer cursor to some clickable input’s by default to let the user know that this item is clickable, so we solve this by doing it ourselves.


Copy this code and paste it in your HTML
  1. /* hand cursor on clickable input elements */
  2. label, input[type=button], input[type=submit], button { cursor: pointer; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.