码迷,mamicode.com
首页 > Web开发 > 详细

Css - 渲染按钮

时间:2016-03-26 23:31:04      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:

<style type="text/css">
            background: #f7f7f7;
            /* for Webkit */
            
            background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#e9e9e9));
            /* for Firefox */
            
            background: -moz-linear-gradient(top, #f7f7f7, #e9e9e9);
            /* for IE */
            
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=‘#f7f7f7‘, endColorstr=‘#e9e9e9‘);
            #breadcrumbs {
                display: inline-block;
                padding-right: 20px;
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                -ms-border-radius: 3px;
                -o-border-radius: 3px;
                border-radius: 3px;
                -webkit-box-shadow: 0 0 0 1px #ccc inset, 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 1px rgba(255, 255, 255, 0.6) inset;
                -moz-box-shadow: 0 0 0 1px #ccc inset, 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 1px rgba(255, 255, 255, 0.6) inset;
                box-shadow: 0 0 0 1px #ccc inset, 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 0 1px rgba(255, 255, 255, 0.6) inset;
                background: #ececec;
                background-size: 100%;
                background-image: linear-gradient(top, #fafafa, #ececec);
                width: 100%;
            }
            
            -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
            -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
            box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
            color: #fef4e9;
            border: solid 1px #da7c0c;
            background: #f78d1d;
            background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
            background: -moz-linear-gradient(top, #faa51a, #f47a20);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#faa51a, endColorstr=#f47a20);
            cursor: pointer;
            zoom: 1;
        </style>

 

Css - 渲染按钮

标签:

原文地址:http://www.cnblogs.com/CyLee/p/5324362.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!