-
-
Save sksar/9144f17241b136e5459132a5bb806b21 to your computer and use it in GitHub Desktop.
PWA media queries
This file contains 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
/* Replace "standalone" with "fullscreen" depending on your manifest.json display mode */ | |
@media (display-mode: standalone) { | |
/* All installed PWAs */ | |
} | |
@media (max-width: 576px) and (display-mode: standalone) { | |
/* Installed PWAs on mobile devices */ | |
@supports (-webkit-overflow-scrolling: touch) { | |
/* Installed PWAs on mobile Apple devices */ | |
} | |
@supports not (-webkit-overflow-scrolling: touch) { | |
/* Installed PWAs on mobile non-Apple devices */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment