Disable text selection

This commit is contained in:
Manos Katsomallos 2024-01-05 13:00:40 +02:00
parent 07f574d0ac
commit e116d825e3

View File

@ -7,6 +7,15 @@ body, html {
background-color: black; background-color: black;
} }
* {
padding: 0;
margin: 0;
/* Disable text selection */
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
h1, h2, h3, h4, h5, p { h1, h2, h3, h4, h5, p {
padding: 0; padding: 0;
margin: 0; margin: 0;