-
-
Save sheriffderek/94e5973441a3fe6bd09bee0089dc930d to your computer and use it in GitHub Desktop.
CSS Cursor Reset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, | |
body | |
cursor: default | |
code | |
cursor: text | |
/* | |
textarea and input[type="text"] already receive | |
"cursor: text" via browsers' base stylesheets | |
*/ | |
a, | |
label, | |
button, | |
input[type="radio"], | |
input[type="submit"], | |
input[type="checkbox"] | |
cursor: pointer | |
button[disabled], | |
input[disabled] | |
cursor: default |
As pointed out in https://gist.github.com/murtaugh/5247154#gistcomment-1656591 this is missing input[type="button"]
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stylus syntax of @murtaugh 's cursor reset.