通过CSS类型的顺序改变翻滚效果

开发者在线 Builder.com.cn 更新时间:2004-10-14作者:Builde.com 来源:

以下CSS建立了Listing A.所示的翻滚效果:

 

a:link {

    color: #0000FF;

    text-decoration: underline;

    font-weight: normal;

    font-style: normal;

}

a:visited {

    color: #3399FF;

    text-decoration: underline;

    background-color: #FFFFFF;

    font-weight: normal;

    font-style: italic;

}

a:hover {

    color: #0000FF;

    text-decoration: underline;

    background-color: #FFFF00;

    font-weight: bold;

    font-style: normal;

}

a:active {

    color: #FF0000;

    text-decoration: none;

    background-color: #CCCCCC;

    font-weight: bold;

    font-style: normal;

}

 

用户评论

  • 用户名
  • 评论内容