-
-
Save hbsnow/726eeb6a194682cbc5ff67acc442859c to your computer and use it in GitHub Desktop.
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
.separator { | |
position: relative; | |
width: 3rem; | |
height: 3rem; | |
border: 0; | |
margin: 0; | |
} | |
.separator::before, | |
.separator::after { | |
position: absolute; | |
content: ''; | |
width: 1px; | |
top: 0; | |
bottom: 0; | |
background-color: var(--color-default-text-muted); | |
} | |
.separator::before { | |
left: 0; | |
transform: skew(-45deg); | |
transform-origin: left bottom; | |
} | |
.separator::after { | |
right: 0; | |
transform: skew(45deg); | |
transform-origin: right bottom; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment