css 做一个常见的按钮

    a:link,a:visited
    {
        display:block;
        background-color:#98bf21;
        width:120px;
        text-align:center;
        padding:4px;
        text-decoration:none;
    }

    a:hover,a:active
    {
        background-color:#7A991A;
    }

 

posted @ 2015-01-04 17:08  yufenghou  阅读(230)  评论(0编辑  收藏  举报