• 制作圆角按钮


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <style>
    .button {
    display: inline-block;
    position: relative;
    text-align: center;
    text-decoration: none;
    font: bold 24px 华文细微;

    text-shadow: 1px 1px 1px 1px rgba(255,255,255, .22);

    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;

    -webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0, .29), inset 1px 1px 2px 1px rgba(255,255,255, .44);
    -moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0, .29), inset 1px 1px 2px 1px rgba(255,255,255, .44);
    box-shadow: 1px 1px 1px 2px rgba(0,0,0, .29), inset 1px 1px 2px 1px rgba(255,255,255, .44);

    }
    .green {
    color: #fa6b00;

    /* background: #a5cd4e; Old browsers */
    background-color:#FFF;
    }

    /* Blue Color */

    .big {
    padding-top: 10px;
    height: 40px;
    120px;
    text-transform: uppercase;
    font: bold 24px 华文细微;
    }

    .button:hover {
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.29), inset 0px 0px 2px rgba(0,0,0, .5);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,.29), inset 0px 0px 2px rgba(0,0,0, .5);
    box-shadow: 1px 1px 1px rgba(0,0,0,.29), inset 0px 0px 2px rgba(0,0,0, .5);
    color:#FFF;
    background-color:#fa6b00;
    }

    </style>
    </head>

    <body>
    <a href="#" class="button big green">查看更多 </a>

    </body>
    </html>

  • 相关阅读:
    点击退出 防止回退
    AngularJS select中ngOptions用法详解
    git hub
    .ashx datatable转excel
    写日志 log 到文件夹
    easyui layout 布局title
    easyui tree 折叠节点
    转json using指令
    Qt QWindow转QWidget
    CEF 重写弹窗事件
  • 原文地址:https://www.cnblogs.com/leaflife/p/6735101.html
Copyright © 2020-2023  润新知