Skip to content

Instantly share code, notes, and snippets.

@0xadada 0xadada/base.css
Last active Dec 28, 2016

Embed
What would you like to do?
Pretty much the most important CSS you'll add to any website.
html,
button,
input,
select {
/* anti-aliasing
* Frankly, i don't know why anti-aliasing isn't enabled by default.
* It probably should be, but its nice that "good" developers
* can make their sites look nicer by opting-into antialiased type.
*/
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* font-smooth: always; */
/* text size adjust
* allows Web authors to control if and how
* the text-inflating algorithm is applied to the textual content
* of the element it is applied to.
*/
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.