From d6a78a7732c93435522ac84e66764e936ef8d066 Mon Sep 17 00:00:00 2001 From: Manos Katsomallos Date: Fri, 5 Jan 2024 13:12:22 +0200 Subject: [PATCH] Disable text selection --- css/styles.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 9ae255e..a9111e7 100644 --- a/css/styles.css +++ b/css/styles.css @@ -12,8 +12,9 @@ body, html { margin: 0; /* Disable text selection */ -webkit-user-select: none; /* Safari */ - -ms-user-select: none; /* IE 10 and IE 11 */ - user-select: none; /* Standard syntax */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Safari */ } h1, h2, h3, h4, h5, p {