Last active
June 6, 2019 17:07
-
-
Save lenivene/088bbd33e4de5f475de1eddce4a3ad68 to your computer and use it in GitHub Desktop.
css fix all fonts css device/browser ios/safari
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
*, ::after, ::before { | |
font-family:inherit; | |
text-rendering:optimizeLegibility; | |
text-stroke:1px transparent; | |
-webkit-text-size-adjust:100%; | |
-moz-text-size-adjust:100%; | |
-ms-text-size-adjust:100%; | |
-webkit-font-smoothing:antialiased; | |
-moz-font-smoothing:antialiased; | |
-ms-font-smoothing:antialiased; | |
-o-font-smoothing:antialiased; | |
font-smoothing:antialiased; | |
-moz-osx-font-smoothing:grayscale; | |
-webkit-text-stroke:1px transparent; | |
-moz-text-stroke:1px transparent; | |
-ms-text-stroke:1px transparent; | |
-moz-text-shadow:0 0 1px rgba(0, 0, 0, 0.01); | |
-ms-text-shadow:0 0 1px rgba(0, 0, 0, 0.01); | |
text-shadow:0 0 1px rgba(0, 0, 0, 0.01); | |
} |
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 { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
-webkit-box-sizing: inherit; | |
-moz-box-sizing: inherit; | |
box-sizing: inherit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment