Created
November 21, 2018 22:26
-
-
Save MilllerTime/68a0dd5e1b9e4926c3b31a766e560592 to your computer and use it in GitHub Desktop.
Some ideas to apply as base CSS rules for new projects.
This file contains hidden or 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 { | |
box-sizing: border-box; | |
cursor: default; | |
font-family: system-ui, sans-serif; | |
text-size-adjust: none; | |
-webkit-tap-highlight-color: transparent; | |
} | |
*, | |
*::before, | |
*::after { | |
box-sizing: inherit; | |
position: relative; | |
} | |
/* Themed highlight color */ | |
::selection { | |
background-color: #0366d6; | |
color: white; | |
} | |
code { | |
cursor: text; | |
} | |
/* | |
textarea and input[type="text"] already receive | |
"cursor: text" via browsers' base stylesheets | |
*/ | |
a { | |
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