From 02eab4d232f3767820ce293fa2f4135af3d69785 Mon Sep 17 00:00:00 2001 From: Manos Katsomallos Date: Fri, 5 Jan 2024 13:02:54 +0200 Subject: [PATCH] Disable text selection --- css/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/styles.css b/css/styles.css index 878665c..4054acc 100644 --- a/css/styles.css +++ b/css/styles.css @@ -6,6 +6,10 @@ body, html { * { 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 */ } body {