no pointer events on non selected content

This commit is contained in:
Kenneth Jao 2020-04-14 21:26:52 -04:00 committed by kjao
parent e738a4a27c
commit a6c7ce1f92

View File

@ -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;
}