Skip to content

Instantly share code, notes, and snippets.

@brahimvandenbrande
Last active February 12, 2025 13:14
Show Gist options
  • Select an option

  • Save brahimvandenbrande/b2057e39ecd7c01399d740af19e27abb to your computer and use it in GitHub Desktop.

Select an option

Save brahimvandenbrande/b2057e39ecd7c01399d740af19e27abb to your computer and use it in GitHub Desktop.
The following CSS code snippet targets the 'body' element and applies font smoothing properties for a better text rendering experience on different browsers
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment