.step { color: #BBBEBF; background-color: white; padding: 6px; z-index: 10; > .icon { font-size: 25px; } &.current { color: rgba(0, 205, 115, 0.3); } &.completed { color: #00CD73; } } .line { position: absolute; border: solid 2px #BBBEBF; width: 100%; box-sizing: border-box; margin: 0; padding: 0; } .container { display: flex; position: relative; justify-content: space-between; align-items: center; height: 50px; margin: 0 20px; }