vue-step-indicator
Version:
Simple step indicator for Vue.js
45 lines (42 loc) • 1.06 kB
CSS
.step-indicators {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
.step-indicator {
border: 2px solid;
border-radius: 50%;
height: 32px;
width: 32px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-weight: 700;
z-index: 2;
background-color: white;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.step-indicators-line {
position: absolute;
height: 2px;
top: 50%;
left: 24px;
right: 24px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
z-index: 1;
background: rgb(223, 231, 239);
}