Skip to content

Instantly share code, notes, and snippets.

@rubinchyk
Last active November 3, 2015 10:50
Show Gist options
  • Save rubinchyk/7cbe5114dd8d96fccede to your computer and use it in GitHub Desktop.
Save rubinchyk/7cbe5114dd8d96fccede to your computer and use it in GitHub Desktop.
SCSS - Triangle with border
//Triangle
&:after {
content: '';
display: block;
position: absolute;
width: 10px;
height: 10px;
background: white;
border-right: 1px solid rgba(0, 0, 0, 0.24);
border-bottom: 1px solid rgba(0, 0, 0, 0.24);
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
right: -6px;
top: 21px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment