Skip to content

Instantly share code, notes, and snippets.

@renemeye
Created January 13, 2014 17:41
Show Gist options
  • Save renemeye/8404530 to your computer and use it in GitHub Desktop.
Save renemeye/8404530 to your computer and use it in GitHub Desktop.
Ovale Schatten unter Elemente legen
.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