

在线预览 源码下载
html代码:
年 年 年 个月 个月 个月 个月 个月 个月 个月 个月 个月 年年 年年 年年
年 年 年 个月 个月 个月 个月 个月 个月 个月 个月 个月 年年 年年 年年
年 年 年 个月 个月 个月 个月 个月 个月 个月 个月 个月 年年 年年 年年
css代码:
ul, li {
padding: ;
margin: ;
list-style-type: none;
}
.clearfix:after {
display: block;
content: "";
clear: both;
}
.slider-date {
height: px;
line-height: px;
background: #eee;
display: inline-block;
position: relative;
}
.slider-date .slider-bg li {
position: relative;
float: left;
width: px;
border-left: solid px #ddd;
font-size: px;
text-align: center;
}
.slider-date .slider-bg span {
display: none;
}
.slider-date .slider-bg li:first-child {
border-left: none;
}
.slider-date .slider-bar {
position: absolute;
top: -px;
left: ;
overflow: hidden;
height: px;
width: px;
}
.slider-date .slider-bar ul {
margin-top: px;
background: #bfe;
color: #fff;
height: px;
width: px;
}
.slider-date .slider-bar-btn {
line-height: px;
text-align: center;
position: absolute;
top: -px;
right: px;
display: block;
width: px;
height: px;
background: #dacd;
color: #fff;
}
.slider-date .slider-bar-btn i {
display: inline-block;
margin: px px;
width: px;
height: px;
background: #cde;
}js代码:
以上代码很简单吧,希望大家能够喜欢。
