Created
August 2, 2017 11:41
-
-
Save maliMirkec/f0c28ffaee732b65f15d586cc0c39991 to your computer and use it in GitHub Desktop.
How to create crooked shadow
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
.hero:before { | |
content: “”; | |
position: absolute; | |
bottom: 0; | |
right: 0; | |
left: 0; | |
height: 10em; | |
background-image: linear-gradient(to top left, #111 45%, transparent 50%); | |
transform-origin: center center; | |
transform: scale(1.25) translateY(-.5em); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment