Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.nav-group-2:before {
-webkit-box-shadow: 3px -2px 5px rgba(50, 50, 50, 0.25);
-moz-box-shadow: 3px -2px 5px rgba(50, 50, 50, 0.25);
box-shadow: 3px -2px 5px rgba(50, 50, 50, 0.25);
width: 15px;
height: 15px;
background: #f1f7f7;
/* Translate the box up by width / 2 then rotate */
-webkit-transform: translateY(-15px) rotate(45deg);
transform: translateY(-15px) rotate(45deg);
content: " ";
position: absolute;
pointer-events: none;
z-index: 102;
right: -7px;
top: 50%;
}
.nav-group-2:after {
width: 15px;
height: 15px;
background: #f1f7f7;
/* Translate the box up by width / 2 then rotate */
-webkit-transform: translateY(-15px) rotate(45deg);
transform: translateY(-15px) rotate(45deg);
content: " ";
position: absolute;
pointer-events: none;
z-index: 102;
right: -5px;
top: 50%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.