layui实现带农历显示的日历代码
代码语言:html
所属分类:其他
代码描述:layui实现带农历显示的日历代码,配合农历与公历互转插件实现。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/js/layui/css/layui.css">
<style>
@charset "utf-8";
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,img {
border:medium none;
margin:0;
padding:0;
font-size:100%;
list-style:none
}
body,button,input,select,textarea {
font-size:14px;
line-height:1.5;
font-family:'PingFang SC Regular',Helvetica,Tahoma,Arial,Microsoft YaHei,Hiragino Sans GB,WenQuanYi Micro Hei,sans-serif
}
h1,h2,h3,h4,h5,h6 {
font-weight:normal
}
em {
font-style:normal
}
ul,ol {
list-style:none
}
input[type='text'],input[type='password'],button {
background:0;
border:0;
outline:0;
-webkit-appearance:none
}
textarea {
resize:none
}
a {
text-decoration:none;
color:#333
}
a:hover {
text-decoration:none;
color:#37b4f9;
-moz-transition:all .3s ease-in;
-webkit-transition:all .3s ease-in;
-o-transition:all .3s ease-in;
transition:all .3s ease-in
}
*box {
box-sizing:border-box
}
img {
border:0;
outline-width:0;
vertical-align:middle
}
.fl {
float:left
}
.fr {
float:right
}
.clearfix,.row {
*zoom:1
}
.clearfix:after,.row:after {
content:'';
clear:both;
display:block
}
.layout {
width:1280px;
margin:0 auto
}
@media screen and (max-width:320px) {
html {
font-size:44.44px
}
}@media screen and (min-width:321px) and (max-width:375px) {
html {
font-size:52.08px
}
}@media screen and (min-width:376px) and (max-width:414px) {
html {
font-size:57.5px
}
}@media screen and (max-width:1280px) {
.layout {
width:96%
}
}::-webkit-scrollbar {
width:0;
height:0;
background-color:#f5f5f5
}
::-webkit-scrollbar-track {
-webkit-box-shadow:inset 0 0 6px#F5F5F5;
border-radius:10px;
background-color:#f5f5f5
}
::-webkit-scrollbar-thumb {
border-radius:10px;
-webkit-box-shadow:inset 0 0 6px #f5f5f5;
background-color:#555
}
.warp_box {
width:50%;
height:380px;
margin:20px auto
}
.list_h3 {
text-align:center;
font-size:30px;
line-height:40px;
color:#1890ff
}
.date_box {
padding:20px 20px 20px 0;
background-color:#fff;
box-shadow:5px 8px 15px 0 rgba(222,222,222,0.5);
border-radius:10px;
min-height:395px;
border:1px solid #ccc
}
.date_box .date_center {
padding:0 20px 0 0
}
.date_box .date_top {
height:36px;
padding:0 20px
}
.date_box .date_top .tody {
font-family:MicrosoftYaHei;
font-size:28px;
font-weight:normal;
font-stretch:normal;
letter-spacing:0;
color:#000;
line-height:36px;
margin-right:20px;
width:32px
}
.date_box .date_top .date_action {
margin:12px 0 0
}
.date_box .date_top .date_action i {
display:inline-block;
font-size:10px;
cursor:pointer
}
.date_box .date.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0