Created
March 10, 2021 16:30
-
-
Save danielrotaermel/e91f3f264c21eeb87e9c745e66bef4cd to your computer and use it in GitHub Desktop.
shadow below adjacent elements
This file contains hidden or 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
/* shadow below adjacent elements */ | |
.shadowBelow { | |
position: relative; | |
} | |
.shadowBelow:before { | |
content: ""; | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
z-index: -1; | |
border-radius: inherit; | |
box-shadow: 0px 8px 40px rgba(45, 65, 96, 0.19); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment