Skip to content

Instantly share code, notes, and snippets.

@pokedotdev
Last active June 20, 2022 19:06
Show Gist options
  • Save pokedotdev/1f4ba961601692480c093b3ee90028ab to your computer and use it in GitHub Desktop.
Save pokedotdev/1f4ba961601692480c093b3ee90028ab to your computer and use it in GitHub Desktop.
/* Firefox Only */
@supports (-moz-appearance: none) {}
/* Chromium Only */
@supports (contain: paint) and (not (-moz-appearance: none)) {}
/* Chromium + Firefox */
@supports (contain: paint) {}
/* Chromium + Safari */
@supports (not (-moz-appearance: none)) {}
/* Safari Only */
@supports selector(:nth-child(1 of x)) {}
/* (Safari + MobileSafari >= 14.6) or (All MobileSafari versions) */
@supports (selector(:nth-child(1 of x))) or (-webkit-touch-callout: none) {}
/* Safari + Firefox */
@supports (-webkit-touch-callout: none) or (selector(:nth-child(1 of x))) or (-moz-appearance: none) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment