--
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""
html xmlns=""
head
meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
title结婚倒计时/title
link rel="stylesheet" href="https://www.04ip.com/post/css/styles.css" /
/head
body
div class="banner-container"
div class="heading"
h2小柳小冯/h2
h3我们要结婚了/h3
h52021年05月20日/h5
/div
div class="countdown styled"/div
div class="copyrights"版权所有 ? 2021.保留所有权利/div
/div
script type="text/javascript" src="https://www.04ip.com/post/js/jquery-1.8.2.min.js"/script
script type="text/javascript" src="https://www.04ip.com/post/js/jquery.countdown.js"/script
script type="text/javascript" src="https://www.04ip.com/post/js/custom.js"/script
/body
/html
2.CSS代码
* {
margin: 0;
padding: 0;
list-style-type: none;
}
a,
img {
border: 0;
}
p {
color: #24298f;
margin: 0 0 1em !important;
font-size: 13px;
}
body {
font-family: "Open Sans", Arial, sans-serif;
font-size: 14px;
font-weight: 300;
line-height: 1.6em;
color: #656565;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
background: #fff;
transition: all 0.3s linear;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
}
.banner-container {
background-image: url("../images/bg.jpg");
background-repeat: repeat;
background-size: cover;
font-size: 14px;
height: 100%;
width: 100%;
overflow: hidden;
position: fixed;
text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}
.heading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
/* margin-top:250px; */
line-height: 60px;
color: #ffffff;
}
.heading h2 {
font-size: 60px;
font-weight: normal;
font-weight: 700;
height: 140px;
line-height: 80px;
}
.heading h3 {
font-size: 28px;
font-weight: 700;
text-shadow: -1px -1px 5px rgba(0, 0, 0, 0.33);
}
.heading h5 {
font-size: 14px;
}
.countdown {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
margin-top: 210px;
line-height: 48px;
}
.styled div span {
display: block;
font-size: 16px;
margin-top: 0;
font-weight: normal;
text-align: center;
background: rgba(255, 255, 255, 0.06);
color: #fff;
margin: 0 9px 8px 9px;
height: 28px;
line-height: 28px;
}
.styled div {
display: inline-block;
margin-left: 10px;
font-size: 30px;
font-weight: normal;
text-align: center;
height: 100px;
text-shadow: none;
vertical-align: middle;
color: #f44336;
margin: 10px 4px;
height: auto;
width: 112px;
border: 1px dashed rgba(255, 255, 255, 0.46);
}
.copyrights {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin-top: 310px;
font-size: 14px;
color: #f44336;
text-align: center;
opacity: 0.6;
}
登录后复制
?
三、精彩专栏
看到这里了就 【点赞,关注 , 收藏】 三连 支持下吧,你的支持是我创作的动力 。
求Java万年历源代码!!!我有个JS的要么?
你可以把他改下我是没时间帮你该哈?。。?
!--日期框选择--
var DS_x,DS_y;
function dateSelector()//构造dateSelector对象,用来实现一个日历形式的日期输入框 。
- 如何使用cmd命令行提示符登录mysql服务器 cmd中登陆mysql
- mysql 65535 8192 限制 mysql限制资源使用
- Mysql使用索引查询 mysql使用round
- redis缓存 redis缓冲常用命令
- mongodb用来存储什么 mongodb适合存储对象吗
- 2021年高考最热作文 mysql创建实例用户
- 你为什么使用抖音 你为什么使用mysql
- redis通配符的使用
- 使用redis实现分布式锁及其优化 redis分布式性能
- redis不适用场景 redis处理场景识别
