Posted By

lajlev on 02/20/11


Tagged

elements clickable


Versions (?)

Give Clickable Elements a Pointer Cursor


 / Published in: CSS
 

URL: http://www.designyourway.net/blog/resources/31-css-code-snippets-to-make-you-a-better-coder/

Some elements that are clickable mysteriously don’t trigger a pointer cursor in browsers. This fixes that, and provides a default class “pointer” for applying it to other clickable things as needed.

  1. a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
  2. cursor: pointer;

Report this snippet  

You need to login to post a comment.