CSS梯度在IE9中不起作用吗?

时间:2013-10-24 09:56:24

标签: html css

<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            input[type=button]{
                background: linear-gradient(bottom, #3ddf07 0%, #2ea606 50%);
                background: -o-linear-gradient(bottom, #3ddf07 0%, #2ea606 50%);
                background: -moz-linear-gradient(bottom, #3ddf07 0%, #2ea606 50%);
                background: -webkit-linear-gradient(bottom, #3ddf07 0%, #2ea606 50%);               
                filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#3ddf07', endColorstr='#2ea606');
                -ms-filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#3ddf07', endColorstr='#2ea606');
                zoom: 1;

            }
        </style>
    </head>
    <body>
        <input type="button" value="Test Button" />
    </body>
</html>

0 个答案:

没有答案