日历css代码

body {
    background-color: #efefef;
}
#CalendarMain {
    width: 300px;
    height: 300px;
    border: 1px solid #ccc;
    margin: 0 auto;
    margin-top: 100px;
}
#title {
    width: 100%;
    height: 30px;
    background-color: #b9121b;
}
.selectBtn {
    font-weight: 900;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    padding: 7px 10px 6px 10px;
}
.selectBtn:hover {
    background-color: #1d953f;
}
.selectYear {
    float: left;
    margin-left: 50px;
    position: absolute;
}
.selectMonth {
    float: left;
    margin-left: 120px;
    position: absolute;
}
.month {
    float: left;
    position: absolute;
}
.nextMonth {
    float: right;
}
.currentDay {
    float: right;
}
#context {
    background-color: #fff;
    width: 100%;
}
.week {
    width: 100%;
    height: 30px;
}
.week>h3 {
    float: left;
    color: #808080;
    text-align: center;
    margin: 0;
    padding: 0;
    margin-top: 5px;
    font-size: 16px;
}
.dayItem {
    float: left;
}
.lastItem {
    color: #d1c7b7 !important;
}
.item {
    color: #333;
    float: left;
    text-align: center;
    cursor: pointer;
    margin: 0;
    font-family: "微软雅黑";
    font-size: 13px;
}
.item:hover {
    color: #b9121b;
}
.currentItem>a {
    background-color: #b9121b;
    width: 25px;
    line-height: 25px;
    float: left;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
}
#foots {
    width: 100%;
    height: 35px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    margin-top: -1px;
}
#footNow {
    float: left;
    margin: 6px 0 0 5px;
    color: #009ad6;
    font-family: "微软雅黑";
}
#Container {
    overflow: hidden;
    float: left;
}
#center {
    width: 100%;
    overflow: hidden;
}
#centerMain {
    width: 300%;
    margin-left: -100%;
}
#selectYearDiv {
    float: left;
    background-color: #fff;
}
#selectYearDiv>div {
    float: left;
    text-align: center;
    font-family: "微软雅黑";
    font-size: 16px;
    border: 1px solid #ccc;
    margin-left: -1px;
    margin-top: -1px;
    cursor: pointer;
    color: #909090;
}
.currentYearSd, .currentMontSd {
    color: #ff4400 !important;
}
#selectMonthDiv {
    float: left;
    background-color: #fff;
}
#selectMonthDiv>div {
    color: #909090;
    float: left;
    text-align: center;
    font-family: "微软雅黑";
    font-size: 16px;
    border: 1px solid #ccc;
    margin-left: -1px;
    margin-top: -1px;
    cursor: pointer;
}
#selectYearDiv>div:hover, #selectMonthDiv>div:hover {
    background-color: #efefef;
}
#centerCalendarMain {
    float: left;
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值