zoukankan      html  css  js  c++  java
  • 渐变

    <!DOCTYPE html>
    <html>
    <head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
    #div1 {
    200px;
    height: 200px;
    border: 1px #333 solid;
    background: linear-gradient(top, red, yellow);
    background: -webkit-linear-gradient(top, red, yellow);
    /*chrome safari*/
    background: -moz-linear-gradient(top, red, yellow);
    /*firefox*/
    background: -ms-linear-gradient(top, red, yellow);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=red, endColorstr=yellow)";
    + background : #ff7a00;
    /*ie*/
    background: -o-linear-gradient(top, red, yellow);
    /*opera*/

    }
    </style>
    </head>
    <body>
    <div id="div1"></div>
    </body>
    </html>


  • 相关阅读:
    3.24课堂
    3.23作业
    3.23课堂
    3.20作业
    3.20课堂
    3.19作业
    3.19课堂
    3.18课堂
    3.18作业
    46、表与表的连接
  • 原文地址:https://www.cnblogs.com/theWayToAce/p/5558832.html
Copyright © 2011-2022 走看看