Css - 渲染按钮

基本的css3按钮渲染

<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>
上一篇:mdf, ldf文件导入到sql server 2005的方法


下一篇:Python-5 数据类型、操作符