Skip to content

Instantly share code, notes, and snippets.

@mugukamil
Created January 7, 2016 05:26
Show Gist options
  • Save mugukamil/9d8ca35e2a651a215f0f to your computer and use it in GitHub Desktop.
Save mugukamil/9d8ca35e2a651a215f0f to your computer and use it in GitHub Desktop.
Give Clickable Elements a Pointer Cursor 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.
a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
cursor: pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment