<html>

<head>

    <title>几个比较好看的按钮效果</title>

    <style>

        .btn {

         BORDER-RIGHT: #7b9ebd1pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #7b9ebd1pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde); BORDER-LEFT: #7b9ebd1pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #7b9ebd1pxsolid

        }

        .btn1_mouseout {

         BORDER-RIGHT: #7EBF4F1pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #7EBF4F1pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#B3D997); BORDER-LEFT: #7EBF4F1pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #7EBF4F1pxsolid

        }

        .btn1_mouseover {

         BORDER-RIGHT: #7EBF4F1pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #7EBF4F1pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#CAE4B6); BORDER-LEFT: #7EBF4F1pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #7EBF4F1pxsolid

        }

        .btn2 {padding: 2404;font-size:12px;height:23;background-color:#ece9d8;border-width:1;}

        .btn3_mouseout {

         BORDER-RIGHT: #2C59AA1pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA1pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #2C59AA1pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #2C59AA1pxsolid

        }

        .btn3_mouseover {

         BORDER-RIGHT: #2C59AA1pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA1pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#D7E7FA); BORDER-LEFT: #2C59AA1pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #2C59AA1pxsolid

        }

        .btn3_mousedown

        {

         BORDER-RIGHT: #FFE4001pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #FFE4001pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #FFE4001pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #FFE4001pxsolid

        }

        .btn3_mouseup {

         BORDER-RIGHT: #2C59AA1pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA1pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5); BORDER-LEFT: #2C59AA1pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #2C59AA1pxsolid

        }

        .btn_2k3 {

         BORDER-RIGHT: #002D961pxsolid; PADDING-RIGHT: 2px; BORDER-TOP: #002D961pxsolid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#FFFFFF, EndColorStr=#9DBCEA); BORDER-LEFT: #002D961pxsolid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #002D961pxsolid

        }

    </style>

</head>

<body>

    <button class="btn">

        好看的CSDN Button</button><p>

        </p>

    <button class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'">

        好看的Green Button</button>

    &nbsp;

    <button class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'"

        disabled>

        好看的Green Button</button>

    <p>

        <button class="btn2">

            好看的eButton</button>

    <p>

        <button class="btn3_mouseout" onmouseover="this.className='btn3_mouseover'" onmouseout="this.className='btn3_mouseout'"

            onmousedown="this.className='btn3_mousedown'" onmouseup="this.className='btn3_mouseup'">

            好看的QQ Button</button>

    <p>

        <button class="btn_2k3">

            好看的2k3 Button</button>

</body>

</html>

posted on 2008-01-21 17:22 lunar 阅读(...) 评论(...) 编辑 收藏