Created
March 31, 2017 20:06
-
-
Save imliam/635847b54030af8b29531f8d8320a09c to your computer and use it in GitHub Desktop.
Card Stack
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
/* | |
|-------------------------------------------------------------------------- | |
| Card Stack | |
|-------------------------------------------------------------------------- | |
| | |
| Adds a visual effect to make an element looks like there are multiple | |
| stacks of it. Uses white background and gray border, used for Bootstrap | |
| 4 cards. | |
| | |
*/ | |
.card-stack { | |
box-shadow: 0 0.0625em 0.1875em 0 #ffffff, | |
0 0.5em 0 -0.25em rgba(0, 0, 0, 0.121569), | |
0 0.5em 0.1875em -0.25em #ffffff, | |
0 1em 0 -0.5em rgba(0, 0, 0, 0.121569), | |
0 1em 0.1875em -0.5em #ffffff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment