Created
January 8, 2019 13:13
-
-
Save stepanmas/dc39fba004347c5852c462d8e3638d33 to your computer and use it in GitHub Desktop.
Arrow with 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
&::after { | |
content: ""; | |
position: absolute; | |
width: 0; | |
height: 0; | |
top: 0; | |
left: 50%; | |
margin-left: 12px; | |
box-sizing: border-box; | |
border: 10px solid black; | |
border-color: transparent transparent #fff #fff; | |
transform-origin: 0 0; | |
transform: rotate(135deg); | |
box-shadow: -3px 3px 3px 0 rgba(0, 0, 0, 0.02); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment