Created
January 16, 2019 17:51
-
-
Save ncesar/2e2f2047c9a1dc3e58884d01dcaed12d to your computer and use it in GitHub Desktop.
Unclickable div with CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.blocked | |
{ | |
position:relative; | |
} | |
.blocked:after | |
{ | |
content: ''; | |
position: absolute; | |
left:0; | |
right:0; | |
top:0; | |
bottom:0; | |
z-index:1; | |
background: #cac8c894; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment