大家好,又见面了,我是你们的朋友全栈君。
bootstrap分页样式在bootstrap.min.css文件中好像没有包含进来bootstrap.css才有的
.pagination {
height: 40px;
margin: 20px 0;
}
.pagination ul {
border-radius: 3px 3px 3px 3px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
display: inline-block;
margin-bottom: 0;
margin-left: 0;
}
.pagination li {
display: inline;
}
.pagination a, .pagination span {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #FFFFFF;
border-color: #DDDDDD;
border-image: none;
border-style: solid;
border-width: 1px 1px 1px 0;
float: left;
line-height: 38px;
padding: 0 14px;
text-decoration: none;
}
.pagination a:hover, .pagination .active a, .pagination .active span {
background-color: #F5F5F5;
}
.pagination .active a, .pagination .active span {
color: #999999;
cursor: default;
}
.pagination .disabled span, .pagination .disabled a, .pagination .disabled a:hover {
background-color: transparent;
color: #999999;
cursor: default;
}
.pagination li:first-child a, .pagination li:first-child span {
border-left-width: 1px;
border-radius: 3px 0 0 3px;
}
.pagination li:last-child a, .pagination li:last-child span {
border-radius: 0 3px 3px 0;
}
.pagination-centered {
text-align: center;
}
.pagination-right {
text-align: right;
}
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/160628.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...