Created
November 5, 2017 07:35
-
-
Save acid-chicken/c8253f6814d2a96d86de05a279a1f588 to your computer and use it in GitHub Desktop.
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
/* | |
* F i r e f o x は い い ぞ | |
*/ | |
:root { | |
-webkit-user-select: none; | |
-ms-user-select: none; | |
-o-user-select: none; | |
user-select: none; | |
} | |
:root::before { | |
content: 'You have to use Gecko or Servo implemented browser. (e.g. Firefox)'; | |
position: fixed; | |
} | |
*:not(:root) { | |
opacity: 0; | |
} | |
@-moz-document regexp('.*') { | |
:root { | |
-moz-user-select: auto; | |
user-select: auto; | |
} | |
:root::before { | |
content: ''; | |
} | |
*:not(:root) { | |
opacity: 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment