Skip to content

Instantly share code, notes, and snippets.

View sant1ago-da-hanoi's full-sized avatar
💭
Waiting

Nguyễn Cao Hoài Nam sant1ago-da-hanoi

💭
Waiting
View GitHub Profile
@hsleonis
hsleonis / better-font-smoothing.css
Last active January 12, 2025 12:26
Better font smoothing in cross browser
html {
/* Adjust font size */
font-size: 100%;
-webkit-text-size-adjust: 100%;
/* Font varient */
font-variant-ligatures: none;
-webkit-font-variant-ligatures: none;
/* Smoothing */
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;