slider{
  margin: 10px 0;
  width: 300px;
  display: block;
  height: 12px;
  position: relative;
}
.slider-body {
  position: relative;
  text-align: left;
  border: 0;
}
.slider {
  position: relative;
  display: block;
  outline: none;
  width:100%;
  height:4px;
  top: 4px;
}
.slider-line,
.slider-line-after,
.slider-line-before {
  background-color: #ccc;
  height: 4px;
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
}
.slider-line {
  width: 100%;
  outline: none;
}
.slider-line-before {
  left: -1px;
  width: 20px;
}
.slider-line-after {
  right: -13px;
  width: 13px;
  border-top-right-radius: 4.5px;
  border-bottom-right-radius: 4.5px;
}
.slider-bar {
  position: absolute;
  z-index: 1;
  display: block;
  border: 0;
  background-position: 0 0;
  background-color: #4aa4ce;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
}
.slider-hander {
  border-color: #606060;
  color: #606060;
  box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
  background-color: #fff;
  border-radius: 0;
  width: 12px;
  height: 12px;
  border: 1px solid;
  position: absolute;
  z-index: 2;
  display: inline-block;
  border-radius: 12px;
  top: -4px;
}
.slider.active .slider-hander{
  border: 1px solid #4aa4ce;
}
.slider .min-num,
.slider .max-num{
  position: absolute;
}

.slider .min-num,
.slider .max-num,
.slider .sign-num{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  top: -37px;
  width: 28px;
  height: 28px;
  border-radius: 28px;
  background-color: #ccc;
  outline: none;
  /*防止鼠标拖动时　文字被选中*/
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  -webkit-user-select:none;

}
.slider .min-num,
.slider .sign-num{
  left: -7px;
}
.slider .max-num{
  right: -21px;
}
.slider .min-num,
.slider .max-num{
  color: white;
  font-size: 12px;
}

.slider .sign-num{
  -webkit-transform: scale(0.4) translate3d(0,60px,0);
  transform: scale(0.4) translate3d(0,60px,0);
  transition: all .2s ease-in-out;
  background-color: white;
}
.slider .min-num:after,
.slider .max-num:after,
.slider .sign-num:after{
  position: absolute;
  content: '';
  left: 0;
  top: 19px;
  border-radius: 16px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid #ccc;

}
.slider .sign-num:after{
  opacity: 0;
  border-top: 16px solid #4aa4ce;
  transition: all .2s ease-in-out;
}

.sign-num .text{
    text-align: center;
    color: white;
    z-index: 1;
    font-size: 12px;
    background-color: #4aa4ce;
    /*防止鼠标拖动时　文字被选中*/
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    -webkit-user-select:none;
}


 .slider:not([disabled]).avtice .sign-num, .slider:not([disabled]).active .sign-num:after,
 .slider:not([disabled]):focus .sign-num, .slider:not([disabled]):focus .sign-num:after{
  opacity: 1;

  -webkit-transform: translate3d(0,0,0) scale(1);
  transform: translate3d(0,0, 0);
}
.slider:not([disabled]).avtice .sign-num,
.slider:not([disabled]):focus .sign-num{
  background-color: #4aa4ce;
}

.left-container,
.right-container{
  position: absolute;
}
.slider-hander:before {
  display: inline-block;
  content: "";
  font-size: 8px;
  font-family: Helvetica, Arial, sans-serif;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 15px;
}
.left-container{
  left: 0px;
}
.right-container {
  right: 0px;
}
