From a6c7ce1f921685fe70f589e88ba3966a9ef4c14b Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 14 Apr 2020 21:26:52 -0400 Subject: [PATCH] no pointer events on non selected content --- index.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.css b/index.css index 13bec50..4df7385 100644 --- a/index.css +++ b/index.css @@ -109,6 +109,7 @@ input { .tab:checked:nth-of-type(3) ~ .content:nth-of-type(3) { opacity: 1; position: relative; + pointer-events: all; -webkit-transition: 0.3s opacity ease-in, 0.3s -webkit-transform ease; transition: 0.3s opacity ease-in, 0.3s -webkit-transform ease; transition: 0.3s opacity ease-in, 0.3s transform ease; @@ -214,6 +215,7 @@ input[type='radio'] { .content { padding: 0; + pointer-events: none; }