Created
November 30, 2019 16:37
-
-
Save jongravois/ebeec2cd8d59ae8c82654b7e2684e37e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.wizard a { | |
background: #efefef; | |
display: inline-block; | |
margin-right: 5px; | |
min-width: 150px; | |
outline: none; | |
padding: 10px 25px 10px; | |
position: relative; | |
text-decoration: none; | |
} | |
.wizard a:before { | |
width: 0; | |
height: 0; | |
border-top: 20px inset transparent; | |
border-bottom: 20px inset transparent; | |
border-left: 20px solid #fff; | |
position: absolute; | |
content: ""; | |
top: 0; | |
left: 0; | |
} | |
.wizard a:after { | |
width: 0; | |
height: 0; | |
border-top: 21px inset transparent; | |
border-bottom: 21px inset transparent; | |
border-left: 21px solid #efefef; | |
position: absolute; | |
content: ""; | |
top: 1px; | |
right: -21px; | |
z-index: 2; | |
} | |
.wizard a:first-child:before, | |
.wizard a:last-child:after { | |
border: none; | |
} | |
.wizard .active { | |
background: #0F75BC; | |
color: #fff; | |
} | |
.wizard a.active:after{ | |
border-left: 21px solid #0F75BC; | |
} | |
.wizard .complete { | |
background: #27AE60; | |
color: #fff; | |
} | |
.wizard a.complete:after{ | |
border-left: 21px solid #27AE60; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment