front-blog

CSS中的函数

var()变量引用

attr()元素属性值

    body{
      background: radial-gradient(circle, red, green, blue, yellow);
    }

repeating-linear-gradient()重复线性渐变

    body{
      background: repeating-linear-gradient(30deg, red 5%, yellow 10%, green 20%);
    }