想做分段彩条效果,但是每段连接处是虚的,如何消除呢?有没有办法避免?.top {
height: 28px; background-image: linear-gradient( to right, $red1, $red1 20%, $yellow1 20%, $yellow1 40%, $blue1 40%, $blue1 60%, $purple1 60%, $purple1 80%, $brown1 80%, $brown1 100%,); }
陪伴而非守候
相关问题
相关分类