CSS page effect, mouse over time changes, no JS

Source: Internet
Author: User
Keywords Web page production CSS Tutorials
Tags class digg html http public text w3c web

<! 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=" HTML; charset=gb2312 "/>


<title>div CSS Example: a good CSS page effect (DIGG) </title>


<style type= "Text/css" >


Body {


font-size:12px; Font-family:verdana, Arial, Helvetica, serif; width:60%; padding-left:25px;


}


Div.digg {


padding-right:3px; padding-left:3px; padding-bottom:3px; margin:3px; padding-top:3px; Text-align:center


}


Div.digg A {


Border-right: #aaaadd 1px solid; padding-right:5px; Border-top: #aaaadd 1px solid; padding-left:5px; padding-bottom:2px; margin:2px; Border-left: #aaaadd 1px solid; COLOR: #000099; padding-top:2px; Border-bottom: #aaaadd 1px solid; Text-decoration:none


}


Div.digg a:hover {


border-right: #000099 1px solid; Border-top: #000099 1px solid; Border-left: #000099 1px solid; COLOR: #000; Border-bottom: #000099 1px solid


}


Div.digg a:active {


border-right: #000099 1px solid; Border-top: #000099 1px solid; Border-left: #000099 1px solid; COLOR: #000; Border-bottom: #000099 1px solid


}


Div.digg span.current {


Border-right: #000099 1px solid; padding-right:5px; Border-top: #000099 1px solid; padding-left:5px; Font-weight:bold; padding-bottom:2px; margin:2px; Border-left: #000099 1px solid; COLOR: #fff; padding-top:2px; Border-bottom: #000099 1px solid; Background-color: #000099


}


Div.digg span.disabled {


border-right: #eee 1px solid; padding-right:5px; Border-top: #eee 1px solid; padding-left:5px; padding-bottom:2px; margin:2px; Border-left: #eee 1px solid; COLOR: #ddd; padding-top:2px; Border-bottom: #eee 1px solid


}


</style>


<body>


<p>


<a href= "/" _fcksavedurl= "/" >digg style-websbook.com</a>


<div class= "Digg" >


<span class= "Disabled" > < </span>


<span class= "current" >1</span>


<a href= "#?page=2" _fcksavedurl= "#?page=2" >2</a>


<a href= "#?page=3" _fcksavedurl= "#?page=3" >3</a>


<a href= "#?page=4" _fcksavedurl= "#?page=4" >4</a>


<a href= "#?page=5" _fcksavedurl= "#?page=5" >5</a>


<a href= "#?page=6" _fcksavedurl= "#?page=6" >6</a>


<a href= "#?page=7" _fcksavedurl= "#?page=7" >7</a>


...


<a href= "#?page=199" _fcksavedurl= "#?page=199" >199</a>


<a href= "#?page=200" _fcksavedurl= "#?page=200" >200</a>


<a href= "#?page=2" _fcksavedurl= "#?page=2" > > </a>


</div>


</p>


</body>


</html>


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.