Return to Snippet

Revision: 41574
at February 20, 2011 06:57 by lajlev


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

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

Initial Description
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.

Initial Title
Give Clickable Elements a Pointer Cursor

Initial Tags

                                

Initial Language
CSS