From 5b41f5c5a14cb3e54fcfcf812a111bedb5163495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Str=C3=B6mkvist?= Date: Wed, 21 Feb 2018 17:06:57 +0100 Subject: [PATCH] Make tooltip itself unhoverable Without setting `pointer-events` to `none`, the tooltip itself is hoverable, meaning that if you hover in the area where the tooltip is, it'll become visible. --- CSS Tooltip/styles.css | 1 + 1 file changed, 1 insertion(+) diff --git a/CSS Tooltip/styles.css b/CSS Tooltip/styles.css index 8125529..d8854c9 100644 --- a/CSS Tooltip/styles.css +++ b/CSS Tooltip/styles.css @@ -40,6 +40,7 @@ form input{ left: 50%; opacity: 0; transition: all ease 0.3s; + pointer-events: none; } .tooltip::before{