【文件属性】:
文件名称:原生js开发的日历插件
文件大小:47KB
文件格式:PDF
更新时间:2020-12-01 02:51:15
content js js代码
效果如下所示:
代码如下:
<style type="text/css">
* {
margin: 0;
padding: 0;
}
ul, li {
list-style: none;
}
#week {
width: 350px;
height: 350px;
border: 1px solid #ccc;
}
#week h6 {
font-size: 20px;
overflow: hidden;
height: 40px;
line-height: 40px;
}
#week h6 div {
float: left;
width: 25