Added class for non-selectables

This commit is contained in:
CommanderRedYT
2020-11-29 03:58:43 +01:00
parent 73efe4bbd1
commit cf512d44d0
3 changed files with 32 additions and 16 deletions
+8
View File
@@ -12,4 +12,12 @@ body {
nav {
transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1);
}
.disable-select {
user-select: none; /* supported by Chrome and Opera */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
}