.slider {
    position: relative;
    display: inline-block;
    width: 200px;
    margin: 0px 35px 30px;
}

.slider::before,
.slider::after {
    content: "";
    display: table;
}

.slider::after {
    content: "";
    height: 2px;
    width: 100%;
    top: 7px;
    z-index: 1;
    position: absolute;
    clear: both;
    background-color: #ccc;
}

.slider-bar {
    height: 2px;
    top: 7px;
    left: 0;
    z-index: 1;
    position: absolute;
    background-color: #888;
}

.slider-min,
.slider-max,
.slider-cur {
    display: inline-block;
    width: 30px;
    height: 30px;
    color: #888;
    font-size: 14px;
    position: absolute;
    user-select: none;
    font-weight: bold;
}

.slider-min {
    top: -2px;
    left: -2em;
    text-align: left;
}

.slider-max {
    top: -2px;
    right: -2em;
    text-align: right;
}

.slider-cur {
    left: -15px;
    bottom: -2.5em;
    text-align: center;
}

.slider-cur::before {
    content: "";
    position: absolute;
    height: .5em;
    left: 15px;
    top: -0.15em;
    width: 1px;
    background-color: #999;
    display: block;
}

.slider-block {
    float: left;
    position: relative;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    z-index: 3;
    background-color: #999;
    cursor: pointer;
    transition: background-color 100ms ease;
    -webkit-transition: background-color 100ms ease;
    -moz-transition: background-color 100ms ease;
}

.slider-block::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 100ms ease;
    -webkit-transition: background-color 100ms ease;
    -moz-transition: background-color 100ms ease;
}

.slider-block.active {
    background-color: #555;
}

.slider-block.active::after {
    background-color: #999;
}