Disable text selection

This commit is contained in:
Manos Katsomallos 2024-01-05 13:17:08 +02:00
parent d6a78a7732
commit a022056bc9

View File

@ -5,11 +5,6 @@ body, html {
padding: 0;
scroll-behavior: smooth;
background-color: black;
}
* {
padding: 0;
margin: 0;
/* Disable text selection */
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
@ -17,6 +12,11 @@ body, html {
user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Safari */
}
* {
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, p {
padding: 0;
margin: 0;