Skip to content

Instantly share code, notes, and snippets.

@maliMirkec
Created August 2, 2017 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maliMirkec/49bf493b7a8ac248b55b18e69703f210 to your computer and use it in GitHub Desktop.
Save maliMirkec/49bf493b7a8ac248b55b18e69703f210 to your computer and use it in GitHub Desktop.
How to create crooked shadow
.hero:after {
content: “”;
position: absolute;
bottom: 0;
right: 0;
left: 0;
border-bottom: 10em solid white;
border-left: 100vw solid transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment