Created
January 13, 2014 17:41
-
-
Save renemeye/8404530 to your computer and use it in GitHub Desktop.
Ovale Schatten unter Elemente legen
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
.testing:after{ | |
@include border-radius(50% 50% 50% 50% ,5px 5px 5px 5px); | |
display: block; | |
height: 5px; | |
width: 500px; | |
overflow: hidden; | |
border: none; | |
background-color: rgba(black, 0.1); | |
text-indent: -9999px; | |
content: "X"; | |
//visibility: hidden; | |
@include box-shadow(rgba(black, 0.6) 0 0 20px 50px); | |
} | |
.testing:after { | |
-webkit-border-radius: 50% 5px; | |
-moz-border-radius: 50% 50% 50% 50% / 5px 5px 5px 5px; | |
border-radius: 50% 50% 50% 50% / 5px 5px 5px 5px; | |
display: block; | |
height: 5px; | |
width: 500px; | |
overflow: hidden; | |
border: none; | |
background-color: rgba(0, 0, 0, 0.1); | |
text-indent: -9999px; | |
content: "X"; | |
-webkit-box-shadow: rgba(0, 0, 0, 0.6) 0 0 20px 50px; | |
-moz-box-shadow: rgba(0, 0, 0, 0.6) 0 0 20px 50px; | |
box-shadow: rgba(0, 0, 0, 0.6) 0 0 20px 50px; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment