From e97e53b4e5c97ae59b70702a4eb4e3236fccc5e9 Mon Sep 17 00:00:00 2001 From: synzr Date: Sat, 4 Jul 2026 15:45:12 +0500 Subject: Better custom selection --- style.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index a7b9137..83aff0d 100644 --- a/style.css +++ b/style.css @@ -43,6 +43,11 @@ del { color: #888888; } +*::selection { + background-color: #ff685b; + color: white; +} + .clearfix:after { content: ""; display: table; @@ -108,12 +113,6 @@ del { margin: 0; } -.heading::selection, -.text::selection { - background-color: #ff685b; - color: white; -} - @media (max-width: 576px) { .text { font-size: 11px; -- cgit v1.3