css实现 进度条

 
%progress {
  height: 3.5px;
  border-radius: 999px;
}

.progress {
  @extend %progress;
  background-image: linear-gradient(90deg, #ffb546 0%, #fa5d1d 100%);
}

.container {
  @extend %progress;
  width: 48px;
  background: #efefef;
}

你可能感兴趣的:(vue)