Skip to content

Instantly share code, notes, and snippets.

@MarvinXu
Created June 7, 2017 05:47
Show Gist options
  • Save MarvinXu/992f9ea96e5a2e5adfeb7b0f48b3495e to your computer and use it in GitHub Desktop.
Save MarvinXu/992f9ea96e5a2e5adfeb7b0f48b3495e to your computer and use it in GitHub Desktop.
.icon-x{
&:before,&:after{
content: "";
position: absolute;
width: pxToRem(20px);
height: 1px;
background-color: #fff;
}
&:before{
transform: rotate(45deg);
}
&:after{
transform: rotate(-45deg);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment