Last active
May 11, 2023 17:28
-
-
Save murtaugh/5247154 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="submit"], | |
input[type="button"], | |
input[type="radio"], | |
input[type="checkbox"] { | |
cursor: pointer; | |
} | |
button[disabled], | |
input[disabled] { | |
cursor: default; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@OlsonDev Why not make a pull request?