首页 > Web开发 > 详细

鼠标悬停,会变亮的CSS按钮

时间:2014-07-14 22:36:40      阅读:688      评论:0      收藏:0      [点我收藏+]
<title>变亮效果的CSS按钮</title>
<style type="text/css">
.aaa {
    height: 22px;
    width: 72px;
    background-image: url(http://www.codefans.net/jscss/demoimg/201105/chakan_btn_bg.gif);
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    display: block;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 0px 0px;
}
.aaa a:link {
    height: 22px;
    width: 72px;
    background-image: url(http://www.codefans.net/jscss/demoimg/201105/chakan_btn_bg.gif);
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    display: block;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 0px 0px;
}
.aaa a:hover {
    height: 22px;
    width: 72px;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    background-image: url(http://www.codefans.net/jscss/demoimg/201105/chakan_btn_bg.gif);
    background-position: 0px -22px;
    display: block;
    background-repeat: no-repeat;
}
</style>

 

鼠标悬停,会变亮的CSS按钮,布布扣,bubuko.com

鼠标悬停,会变亮的CSS按钮

原文:http://www.cnblogs.com/youtianxia/p/3842330.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!