一个不错的CSS分页

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>css_index_sinoaqua</title>
<meta name="author" content="aoao">
<meta content="all" name="robots">
<style type="text/css">
ul#hovershow
{
    list-style-type
: none;
    margin
: 50px;
    width
:250px;
    float
: left;
    display
: inline;
    clear
: both;
}

ul#hovershow li
{
    float
: left;
    display
: inline;
    width
:20px;
    height
: 20px;
    margin
: 2px;
            
}

ul#hovershow li a 
{

    display
: block;
    width
:20px;
    height
:20px;
    border
:1px #999 solid;
    color
:#0984FF;
    background-color
:#fff;
    text-decoration
: none;
    line-height
: 20px;
    font-size
: 12px;
    text-align
: center;
    font-weight
: bold;
}


ul#hovershow li a:hover
{
    position
: absolute;
    width
:40px;
    height
: 40px;
    line-height
: 40px;
    font-size
: 32px;
    z-index
:100;
    margin
: -10px 0 0 -10px;
}

ul#hovershow li:hover + li a
{
    position
: absolute;
    width
:30px;
    height
: 30px;
    line-height
: 30px;
    font-size
: 24px;
    z-index
:99;
    margin
: -5px 0 0 -5px;
}

</style></head><body>
<ul id="hovershow">
    
<li><href="#1" title="#"><<</a></li>
    
<li><href="#2" title="#">1</a></li>
    
<li><href="#3" title="#">2</a></li>
    
<li><href="#4" title="#">3</a></li>
    
<li><href="#5" title="#">4</a></li>
    
<li><href="#6" title="#">5</a></li>
    
<li><href="#7" title="#">6</a></li>
    
<li><href="#7" title="#">>></a></li>

</ul>

</body></html>
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值