zoukankan      html  css  js  c++  java
  • 背景色渐变(兼容各浏览器)

    .content
    {
    100%;
    height:600px;
    background: #179aac;
    background: -moz-linear-gradient(top, #179aac 0%, #19bea0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#179aac), color-stop(100%,#19bea0));
    background: -webkit-linear-gradient(top, #179aac 0%,#19bea0 100%);
    background: -o-linear-gradient(top, #179aac 0%,#19bea0 100%);
    background: -ms-linear-gradient(top, #179aac 0%,#19bea0 100%);
    background: linear-gradient(to bottom, #179aac 0%,#19bea0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#179aac', endColorstr='#19bea0',GradientType=0 );
    }
    :root .content{filter:none;}

  • 相关阅读:
    P1541
    P1004
    P1006
    高精度
    数组
    递归
    顺序结构
    循环结构
    变量
    分支结构
  • 原文地址:https://www.cnblogs.com/hyql/p/5063254.html
Copyright © 2011-2022 走看看