linear-gradient 颜色渐变

/* 渐变轴为45度,从蓝色渐变到红色 */
linear-gradient(45deg, blue, red);

  &::before {
    @include size(100%, 4px);
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(-26deg, #74C7FC, #699BF9);
  }
posted @ 2021-11-05 11:26  盘思动  阅读(153)  评论(0编辑  收藏  举报