css 渐变

.test {

      border-radius: 4px;

      background-image: -moz-linear-gradient(-152deg, rgb(24, 144, 255) 0%, rgb(105, 192, 255) 100%);

      background-image: -webkit-linear-gradient(-152deg, rgb(24, 144, 255) 0%, rgb(105, 192, 255) 100%);

      background-image: -ms-linear-gradient(-152deg, rgb(24, 144, 255) 0%, rgb(105, 192, 255) 100%);

      box-shadow: 0px 1px 5.94px 0.06px rgba(0, 0, 0, 0.3);
      
      width: 562px;
      
      height: 50px;
    }

猜你喜欢

转载自blog.csdn.net/qq_35397218/article/details/82983211