分享两个DEDECMS分页样式css代码
<span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>模板中的分页部分页部分源码: </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'><div class="right">
<span><u>复制代码</u></span>
</div>
代码如下:</div>
<div class="msgborder" id="phpcode37" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
<br>
<div class="pagination-wrapper"> <br>
<div class="pagination"> <br>
{dede:pagelist listsize='5' listitem='info,index,end,pre,next,pageno'/} <br>
</div> <br>
</div> </div>
<br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>样式一</span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><img title="分享两个DEDECMS分页样式css代码" alt="分享两个DEDECMS分页样式css代码" src="https://zhuji.jb51.net/uploads/img/202305/c517728e035d920ad25bbbdbdf518b9d.jpg" style="max-width:100%!important;height:auto!important;border: 1px solid rgb(204, 204, 204); vertical-align: middle; padding: 1px; overflow: hidden; max-width: 696px; font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px; width: 600px; height: 85px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
<div class="right">
<span><u>复制代码</u></span>
</div>
代码如下:</div>
<div class="msgborder" id="phpcode38" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
<br>
/*pages*/<br>
.pagination-wrapper {<br>
clear:both;<br>
padding:1em 0 2em 0;<br>
text-align:center;<br>
}<br>
.pagination {<br>
display: inline-block;<br>
*display: inline;<br>
*zoom: 1;<br>
font-size:12px;<br>
border-radius: 3px;<br>
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);<br>
}<br>
.pagination li{<br>
list-style: none;<br>
display: inline;<br>
float: left;<br>
line-height: 1em;<br>
text-decoration: none;<br>
border: 1px solid #ddd;<br>
border-left-width: 0;<br>
}<br>
.pagination li a {<br>
display: inline-block;<br>
padding: .5em .8em;<br>
background-color: #f9f9f9;<br>
color: #999;<br>
}<br>
.pagination li a:link{<br>
background:#fff;<br>
color: #4C78A5;<br>
}<br>
.pagination li a:hover{<br>
text-decoration:none;<br>
}<br>
.pagination li a:link:hover {<br>
color: #000;<br>
}<br>
.pagination li.thisclass {<br>
background-color: #f9f9f9;<br>
color:#999;<br>
}<br>
.pagination li:first-child {<br>
border-left-width: 1px;<br>
border-radius: 3px 0 0 3px;<br>
}<br>
.pagination li:last-child{<br>
border-radius: 0 3px 3px 0;<br>
}<br>
.pagination .pageinfo{<br>
color: #444;<br>
}</div>
<br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>样式二 </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><img title="分享两个DEDECMS分页样式css代码" alt="分享两个DEDECMS分页样式css代码" src="https://zhuji.jb51.net/uploads/img/202305/e854defe630151769009e39e2d8bc629.jpg" style="max-width:100%!important;height:auto!important;border: 1px solid rgb(204, 204, 204); vertical-align: middle; padding: 1px; overflow: hidden; max-width: 696px; font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px; width: 600px; height: 85px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
<div class="right">
<span><u>复制代码</u></span>
</div>
代码如下:</div>
<div class="msgborder" id="phpcode39" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
<br>
/*pages*/<br>
.pagination-wrapper{<br>
margin: 20px 0;<br>
}<br>
.pagination{<br>
height: 34px;<br>
text-align: center;<br>
}<br>
.pagination li {<br>
display: inline-block;<br>
height: 34px;<br>
margin-right: 5px;<br>
}<br>
.pagination li a{<br>
float: left;<br>
display: block;<br>
height: 32px;<br>
line-height: 32px;<br>
padding: 0 12px;<br>
font-size: 16px;<br>
border: 1px solid #dddddd;<br>
color: #555555;<br>
text-decoration: none;<br>
}<br>
.pagination li a:hover{<br>
background:#f5f5f5;<br>
color:#0099ff;<br>
}<br>
.pagination li.thisclass {<br>
background: #09f;<br>
color: #fff;<br>
}<br>
.pagination li.thisclass a,.pagination li.thisclass a:hover{<br>
background: transparent;<br>
border-color: #09f;<br>
color: #fff;<br>
cursor: default;<br>
}</div>
頁:
[1]