这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看。 此波共有100个表白网站,可以任意修改和使用,很多人会希望向心爱的男孩女孩告白,生性腼腆的人即使那个TA站在眼前都不敢向前表白。说不出口的话就用网页告诉TA吧~制作一个表白网页告诉TA你的心意,演示如下。
❤ 【作者主页——🔥获取更多优质源码】
❤ 【学习资料/简历模板/面试资料/ 网站设计与制作】
❤ 【web前端期末大作业——🔥🔥毕设项目精品实战案例】
文章目录
- 一、网页介绍
- 一、网页效果
- 二、代码展示
- 1.HTML代码
- 2.CSS代码
- 三、精彩专栏
一、网页介绍
1 网页简介:基于 HTML+CSS+JavaScript 制作七夕情人节表白网页、生日祝福、七夕告白、 求婚、浪漫爱情3D相册、炫酷代码
,快来制作一款高端的表白网页送(他/她)浪漫的告白,制作修改简单,可自行更换背景音乐,文字和图片即可使用
2.网页编辑:任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
一、网页效果
二、代码展示
1.HTML代码
代码如下(示例):以下仅展示部分代码供参考~
<!DOCTYPE html>
<html lang="en-US">
<head>
<script type='text/javascript' src='static/js/common.js'></script>
<meta charset="UTF-8" />
<title>小红我爱你-我要表白网测试网页</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="">
<meta name="keywords" content=" ">
<link rel='stylesheet' id='contact-form-7-css' href='static/css/styles.css' type='text/css' media='all' />
<link rel='stylesheet' id='dslc-main-css-css' href='static/css/main.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='dslc-modules-css-css' href='static/css/modules.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='dslc-plugins-css-css' href='static/css/plugins.css' type='text/css' media='all' />
<link rel='stylesheet' id='ilove-style-css' href='static/css/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='great-vibes-css' href='static/css/ad3a1c6f3ff94fb2ba14666104b24a07.css' type='text/css' media='screen' />
<link rel='stylesheet' id='font-lato-css' href='static/css/a86f112c7643460b98ed1c2564930cb3.css' type='text/css' media='screen' />
<link rel='stylesheet' id='bootstrap.min-css' href='static/css/bootstrap.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='sample-style-css' href='static/css/sample-style.css' type='text/css' media='all' />
<link rel='stylesheet' id='jquery.fancybox-css' href='static/css/jquery.fancybox.css' type='text/css' media='all' />
<link rel='stylesheet' id='base-css' href='static/css/base.css' type='text/css' media='all' />
<link rel='stylesheet' id='skin-css' href='static/css/skin.css' type='text/css' media='all' />
<link rel='stylesheet' id='animate-css' href='static/css/animate.css' type='text/css' media='all' />
<link rel='stylesheet' id='magnific-popup-css' href='static/css/magnific-popup.css' type='text/css' media='all' />
<link rel='stylesheet' id='owl.carousel-css' href='static/css/owl.carousel.css' type='text/css' media='all' />
<link rel='stylesheet' id='owl.theme-css' href='static/css/owl.theme.css' type='text/css' media='all' />
<link rel='stylesheet' id='style-css' href='static/css/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='custom-css' href='static/css/custom.css' type='text/css' media='all' />
<link rel='stylesheet' id='redux-google-fonts-css' href='static/css/a1aa99bf24f341da9dbe08e29344feac.css' type='text/css' media='all' />
<script type='text/javascript' src='static/js/1jquery.js'></script>
<script type='text/javascript' src='static/js/jquery-migrate.min.js'></script>
<script type='text/javascript' src='static/js/plugins.js'></script>
<script type='text/javascript' src='static/js/main.min.js'></script>
<style type="text/css">
.recentcomments a {
display: inline !important;
padding: 0 !important;
margin: 0 !important;
}
</style>
<style type="text/css">
@import url("static/css/ae3254f6d6aa4ea2a1d30908b6fdf681.css");
.dslc-modules-section-wrapper,
.dslca-add-modules-section {
width: 1170px;
}
.dslc-modules-section {
background-image: disabled;
background-repeat: repeat;
background-position: left top;
background-attachment: scroll;
background-size: auto;
border-width: 0px;
border-style: solid;
margin-left: 0%;
margin-right: 0%;
margin-bottom: 0px;
padding-bottom: 80px;
padding-top: 80px;
padding-left: 0%;
padding-right: 0%;
}
#dslc-content #dslc-module-1 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-1 .heading h2 {}
#dslc-content #dslc-module-1 .heading p {}
#dslc-content #dslc-module-3 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-3 .heading h2 {}
#dslc-content #dslc-module-3 .heading p {}
#dslc-content #dslc-module-4 .ilove_timeline {
margin-bottom: 0px;
}
#dslc-content #dslc-module-6 .misc-separator {
margin-bottom: px;
}
#dslc-content #dslc-module-8 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-8 .heading h2 {}
#dslc-content #dslc-module-8 .heading p {}
#dslc-content #dslc-module-11 .dslc-image {
text-align: center;
background-color: transparent;
border-width: 0px;
border-style: solid solid solid solid;
margin-bottom: 0px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
}
#dslc-content #dslc-module-11 .dslc-image,
#dslc-content #dslc-module-11 .dslc-image img {
border-radius: 0px;
}
#dslc-content #dslc-module-11 .dslc-image img {
width: auto;
}
#dslc-content #dslc-module-11 .dslc-image-caption {
text-align: center;
font-size: 13px;
font-weight: 400;
font-family: Open Sans;
line-height: 22px;
margin-top: 20px;
}
{
margin-bottom: 0px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
font-size: 13px;
line-height: 22px;
margin-top: 20px;
}
#dslc-content #dslc-module-12 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-12 .heading h2 {}
#dslc-content #dslc-module-12 .heading p {}
#dslc-content #dslc-module-33 .spacer {
height: 75px;
}
#dslc-content #dslc-module-15 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-15 .heading h2 {}
#dslc-content #dslc-module-15 .heading p {}
#dslc-content #dslc-module-20 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-20 .heading h2 {}
#dslc-content #dslc-module-20 .heading p {}
#dslc-content #dslc-module-21 .event {
background-color: #ef6a8a;
}
#dslc-content #dslc-module-22 .event {
background-color: #ef6a8a;
}
#dslc-content #dslc-module-23 .event {
background-color: #ef6a8a;
}
#dslc-content #dslc-module-27 .spacer {
height: 40px;
}
#dslc-content #dslc-module-24 .event {
background-color: #ef6a8a;
}
#dslc-content #dslc-module-25 .event {
background-color: #ef6a8a;
}
#dslc-content #dslc-module-26 .event {
background-color: #ef6a8a;
}
#dslc-content #dslc-module-28 .misc-separator {
margin-bottom: px;
}
#dslc-content #dslc-module-29 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-29 .heading h2 {}
#dslc-content #dslc-module-29 .heading p {}
#dslc-content #dslc-module-37 .heading {
margin-bottom: 0px;
}
#dslc-content #dslc-module-37 .heading h2 {
color: rgb(255, 255, 255);
}
#dslc-content #dslc-module-37 .heading p {}
#dslc-content #dslc-module-55 .spacer {
height: 40px;
}
#dslc-content #dslc-module-41 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-41 .heading h2 {}
#dslc-content #dslc-module-41 .heading p {}
#dslc-content #dslc-module-17 .heading {
margin-bottom: px;
}
#dslc-content #dslc-module-17 .heading h2 {}
#dslc-content #dslc-module-17 .heading p {}
#dslc-content #dslc-module-56 .spacer {
height: 40px;
}
#dslc-content #dslc-module-54 .twitter_feeds {
margin-bottom: 0px;
}
</style>
<style type="text/css" title="dynamic-css" class="options-output">
.wrap-bg {
background-color: #ffffff;
}
body {
font-family: Lato;
font-weight: normal;
font-style: normal;
}
nav {
font-family: Lato;
font-weight: normal;
font-style: normal;
}
h1 {
font-family: Lato;
line-height: 36px;
font-weight: normal;
font-style: normal;
font-size: 36px;
}
h2 {
font-family: Lato;
line-height: 30px;
font-weight: normal;
font-style: normal;
font-size: 30px;
}
h3 {
font-family: Lato;
line-height: 26px;
font-weight: normal;
font-style: normal;
font-size: 26px;
}
h4 {
font-family: Lato;
line-height: 22px;
font-weight: normal;
font-style: normal;
font-size: 22px;
}
h5 {
font-family: Lato;
line-height: 18px;
font-weight: normal;
font-style: normal;
font-size: 18px;
}
h6 {
font-family: Lato;
line-height: 16px;
font-weight: normal;
font-style: normal;
font-size: 16px;
}
.heading h2 {
font-size: 38px;
}
</style>
</head>
<body class="home page page-id-7 page-template page-template-page-templates page-template-one-page page-template-page-templatesone-page-php dslc-page dslc-page-has-content" id="page-top" data-spy="scroll" data-target=".navbar-custom">
<!-- Preloader -->
<div id="preloader">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<script type="text/javascript">
/* <![CDATA[ */
jQuery(document).ready(function($) {
/*------------------------------ Preloader ----------------------*/
$(window).load(function() {
$('.spinner').fadeOut();
$('#preloader').delay(350).fadeOut('slow');
$('body').delay(350).css({
'overflow': 'visible'
});
});
});
/* ]]> */
</script>
<!--Carousel-->
<div class="topbar-nav">
<nav class="navbar navbar-default navbar-custom" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="#">
<img src="static/picture/logo.png" ></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-right navbar-main-collapse">
<script type="text/javascript">
/* <![CDATA[ */
jQuery(document).ready(function($) {
$('.nav').onePageNav({
currentClass: 'active',
changeHash: false,
easing: 'easeInOutExpo',
scrollSpeed: 1500,
});
});
/* ]]> */
</script>
<!-- BEGIN Main Menu -->
<ul class="nav navbar-nav">
<!--------导航----------->
<li id="menu-item-9" class="page-scroll">
<a title="Adam & Eve" href="#about">我们的爱情</a></li>
<li id="menu-item-10" class="page-scroll">
<a title="Our Family" href="#wmaq">我们的幸福时刻</a></li>
<li id="menu-item-12" class="page-scroll">
<a title="Favorite List" href="#xc">我们的幸福相册</a></li>
<li id="menu-item-14" class="page-scroll">
<a title="Contact" href="#contactus">祝福留言</a></li>
</ul>
</div>
</div>
</nav>
</div>
<div class="wrap-bg">
<div class="container_full">
<div id="dslc-content" class="dslc-content dslc-clearfix">
<div id="dslc-main">
<div id="about" class="dslc-modules-section " style="border-right-style: hidden; border-left-style: hidden; padding-bottom:0px;padding-top:0px;">
<div class="dslc-modules-section-wrapper dslc-clearfix">
<div class="dslc-modules-area dslc-col dslc-12-col dslc-last-col" data-size="12">
<div id="dslc-module-1" class="dslc-module-front dslc-module-Pluton_Title dslc-in-viewport-check dslc-in-viewport-anim-none dslc-module-handle-like-regular" data-module-id="1" data-dslc-module-id="Pluton_Title" data-dslc-module-size="12" data-dslc-anim="none"
data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-preset="">
<div class="heading" id="#wmaq">
<h2 class="wow fadeInUp underline padtop50" data-wow-delay="0.5s">我们的爱情</h2>
<p class="wow fadeInUp" data-wow-delay="0.7s" style="color:#ef6a8a">♥ 2020-05-14 00:00:00 ♥</p>
</div>
</div>
<!-- .dslc-module -->
<div id="dslc-module-2" class="dslc-module-front dslc-module-Pluton_Couple_Block dslc-in-viewport-check dslc-in-viewport-anim-none dslc-module-handle-like-regular" data-module-id="2" data-dslc-module-id="Pluton_Couple_Block" data-dslc-module-size="12"
data-dslc-anim="none" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="default" data-dslc-preset="">
<div class="col-md-12">
<div class="col-md-6">
<ul class="ch-grid man wow flipInX" data-wow-delay="0.5s">
<li>
<img src="static/picture/a.jpeg" alt="" />
<div class="ch-item ch-img-1">
<div class="ch-info"><br/>
<h3>小明</h3>
<!--<p>一个不算太帅气的男孩子,我喜欢上了一个女孩 叫前夕,我们在一起很幸福</p>-->
</div>
</div>
</li>
</ul>
</div>
<div class="and">&</div>
<div class="col-md-6">
<ul class="ch-grid woman wow flipInX" data-wow-delay="0.5s">
<li>
<img src="static/picture/b.jpeg" alt="" />
<div class="ch-item ch-img-1">
<div class="ch-info"><br/>
<h3>小红</h3>
<!--<p>一个不算太漂亮的女孩子,我喜欢上了一个男孩,叫亚当,我们在一起很幸福</p>-->
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-- .dslc-module -->
</div>
</div>
</div>
<div id="ilove-our-love" class="dslc-modules-section " style="border-right-style: hidden; border-left-style: hidden; padding-bottom:0px;padding-top:0px;">
<div id="wmaq" class="dslc-modules-section-wrapper dslc-clearfix">
<div class="dslc-modules-area dslc-col dslc-12-col dslc-last-col" data-size="12">
<div id="dslc-module-3" class="dslc-module-front dslc-module-Pluton_Title dslc-in-viewport-check dslc-in-viewport-anim-none dslc-module-handle-like-regular" data-module-id="3" data-dslc-module-id="Pluton_Title" data-dslc-module-size="12" data-dslc-anim="none"
data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-preset="">
<div class="heading">
<h2 class="wow fadeInUp underline padtop50" data-wow-delay="0.5s">我们的幸福时刻</h2>
<p class="wow fadeInUp" data-wow-delay="0.7s">
<strong>爱情时刻</strong>是特殊的,它值得被记录下来,将永远铭记!这是我们一些重要和幸福的时刻。</p>
</div>
</div>
<!-- .dslc-module -->
<div id="dslc-module-4" class="dslc-module-front dslc-module-Pluton_Time_Line dslc-in-viewport-check dslc-in-viewport-anim-none dslc-module-handle-like-regular" data-module-id="4" data-dslc-module-id="Pluton_Time_Line" data-dslc-module-size="12" data-dslc-anim="none"
data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-preset="">
<div class="ilove_timeline">
<div class="col-md-12">
<ul class="timeline">
<li class="">
<div class="timeline-badge wow fadeInUp" data-wow-delay="0.5s">
<i> ♥ </i>
</div>
<div class="timeline-panel wow fadeInLeft" data-wow-delay="0.7s">
<div class="timeline-heading">
<p><br/></p>
</div>
<div class="timeline-body">
<div id="dslc-theme-content">
<div id="dslc-theme-content-inner">
<p>我们的相遇是意外的,但这是一个美丽幸福的意外,让我遇到了这么好的你</p>
</div>
</div>
</div>
</div>
</li>
<li class="timeline-inverted negative100">
<div class="timeline-badge wow fadeInUp" data-wow-delay="0.5s">
<i> ♥ </i>
</div>
<div class="timeline-panel wow fadeInLeft" data-wow-delay="0.7s">
<div class="timeline-heading">
<p><br/></p>
</div>
<div class="timeline-body">
<div id="dslc-theme-content">
<div id="dslc-theme-content-inner">
<p>莎士比亚说过:爱情是一种甜蜜的痛苦,但是我愿意忍受这种痛苦,莎士比亚还说过,世界上没有比服侍爱情更快乐的了,你愿不愿意享受这种快乐?当然你是愿意的~嘿嘿</p>
</div>
</div>
</div>
</div>
</li>
<li class="negative75">
<div class="timeline-badge wow fadeInUp" data-wow-delay="0.5s">
<i> ♥ </i>
</div>
<div class="timeline-panel wow fadeInLeft" data-wow-delay="0.7s">
<div class="timeline-heading">
<p><br/></p>
</div>
<div class="timeline-body">
<div id="dslc-theme-content">
<div id="dslc-theme-content-inner">
<p>之前我不相信一见钟情,但是见到你的那一刻,我否定了我的看法。我的心为你沦陷,从此只为你跳动</p>
</div>
</div>
</div>
</div>
</li>
<li class="timeline-inverted negative100">
<div class="timeline-badge wow fadeInUp" data-wow-delay="0.5s">
<i> ♥ </i>
</div>
<div class="timeline-panel wow fadeInLeft" data-wow-delay="0.7s">
<div class="timeline-heading">
<p><br/></p>
</div>
<div class="timeline-body">
<div id="dslc-theme-content">
<div id="dslc-theme-content-inner">
<p>有一种爱的感觉,叫感同身受。有一种爱的默契,叫心有灵犀。有一种爱的承诺,叫天长地久</p>
</div>
</div>
</div>
</div>
</li>
<li class="negative75">
<div class="timeline-badge wow fadeInUp" data-wow-delay="0.5s">
<i> ♥ </i>
</div>
<div class="timeline-panel wow fadeInLeft" data-wow-delay="0.7s">
<div class="timeline-heading">
<p><br/></p>
</div>
<div class="timeline-body">
<div id="dslc-theme-content">
<div id="dslc-theme-content-inner">
<p>多庆幸世界那么大能和你相恋, 好骄傲你是爱我的,就那么一个你我真的很珍惜, 所有...所有的一切我只想用一句英文告诉你, You are the apple of my eyes</p>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="moments" class="dslc-modules-section dslc-full " style="border-right-style: hidden; border-left-style: hidden; padding-bottom:0px;padding-top:0px;">
<div class="dslc-modules-section-wrapper dslc-clearfix">
<div class="dslc-modules-area dslc-col dslc-12-col dslc-last-col" data-size="12">
<div id="dslc-module-15" class="dslc-module-front dslc-module-Pluton_Title dslc-in-viewport-check dslc-in-viewport-anim-none dslc-module-handle-like-regular" data-module-id="15" data-dslc-module-id="Pluton_Title" data-dslc-module-size="12" data-dslc-anim="none"
data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-preset="">
<div id="xc" class="heading">
<h2 class="wow fadeInUp underline padtop50" data-wow-delay="0.5s">我们的幸福相册</h2>
<p class="wow fadeInUp" data-wow-delay="0.7s">秀秀恩爱~不要羡慕哦~</p>
</div>
</div>
<!-- .dslc-module -->
<div id="dslc-module-18" class="dslc-module-front dslc-module-Pluton_Portfolios dslc-in-viewport-check dslc-in-viewport-anim-none dslc-module-handle-like-regular" data-module-id="18" data-dslc-module-id="Pluton_Portfolios" data-dslc-module-size="12"
data-dslc-anim="none" data-dslc-anim-delay="0" data-dslc-anim-duration="650" data-dslc-anim-easing="ease" data-dslc-preset="">
<div class="bigmoments">
<div id="owl-moments13" class="owl-carousel">
<div class="col-xs-12 col-sm-6 col-md-3 owl-item">
<ul class="grid cs-style-3">
<li>
<figure>
<img src="static/picture/1.jpg" class="img-responsive" alt="portfolio">
<a href="static/picture/1.jpg" class="popup-image" data-effect="mfp-zoom-in">
<span class="fa fa-photo fa-2x"></span>
</a>
<figcaption>
<h4>属于我们的</h4>
<span>我们的幸福记录</span></figcaption>
</figure>
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-6 col-md-3 owl-item">
<ul class="grid cs-style-3">
<li>
<figure>
<img src="static/picture/2.jpg" class="img-responsive" alt="portfolio">
<a href="static/picture/2.jpg" class="popup-image" data-effect="mfp-zoom-in">
<span class="fa fa-photo fa-2x"></span>
</a>
<figcaption>
<h4>属于我们的</h4>
<span>我们的幸福记录</span></figcaption>
</figure>
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-6 col-md-3 owl-item">
<ul class="grid cs-style-3">
<li>
<figure>
<img src="static/picture/3.jpg" class="img-responsive" alt="portfolio">
<a href="static/picture/3.jpg" class="popup-image" data-effect="mfp-zoom-in">
<span class="fa fa-photo fa-2x"></span>
</a>
<figcaption>
<h4>属于我们的</h4>
<span>我们的幸福记录</span></figcaption>
</figure>
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-6 col-md-3 owl-item">
<ul class="grid cs-style-3">
<li>
<figure>
<img src="static/picture/4.jpg" class="img-responsive" alt="portfolio">
<a href="static/picture/4.jpg" class="popup-image" data-effect="mfp-zoom-in">
<span class="fa fa-photo fa-2x"></span>
</a>
<figcaption>
<h4>属于我们的</h4>
<span>我们的幸福记录</span></figcaption>
</figure>
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-6 col-md-3 owl-item">
<ul class="grid cs-style-3">
<li>
<figure>
<img src="static/picture/5.jpg" class="img-responsive" alt="portfolio">
<a href="static/picture/5.jpg" class="popup-image" data-effect="mfp-zoom-in">
<span class="fa fa-photo fa-2x"></span>
</a>
<figcaption>
<h4>属于我们的</h4>
<span>我们的幸福记录</span></figcaption>
</figure>
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-6 col-md-3 owl-item">
<ul class="grid cs-style-3">
<li>
<figure>
<img src="static/picture/6.jpg" class="img-responsive" alt="portfolio">
<a href="static/picture/6.jpg" class="popup-image" data-effect="mfp-zoom-in">
<span class="fa fa-photo fa-2x"></span>
</a>
<figcaption>
<h4>属于我们的</h4>
<span>我们的幸福记录</span></figcaption>
</figure>
</li>
</ul>
</div>
</div>
<script type="text/javascript">
/* <![CDATA[ */
jQuery(document).ready(function($) {
$("#owl-moments13").owlCarousel({
items: 4,
pagination: false,
autoPlay: true,
lazyLoad: true
});
});
/* ]]> */
</script>
</div>
<div class="clearfix"></div>
</div>
<!-- .dslc-module -->
</div>
</div>
</div>
<div>
<div class="dslc-bg-video dslc-force-show">
<div class="dslc-bg-video-inner"></div>
<div class="dslc-bg-video-overlay" style="background-color:rgb(40, 58, 68); opacity:0.9; "></div>
</div>
<div class="dslc-modules-section-wrapper dslc-clearfix">
<div class="dslc-modules-area dslc-col dslc-12-col dslc-last-col" data-size="12">
<div></div>
<!-- .dslc-module -->
<div id="contactus" class="dslc-modules-section " style="border-right-style: hidden; border-left-style: hidden; padding-bottom:0px;padding-top:0px;">
</div>
</div>
</div>
</div>
</div>
<bgsound src="static/music.mp3" loop="-1" />
<audio src="static/music.mp3" controls autoplay='autoplay' loop="loop" id="bgmusic" style="display:none"></audio>
<script>
(function() {
function log(info) {
console.log(info);
// alert(info);
}
function forceSafariPlayAudio() {
audioEl.load(); // iOS 9 还需要额外的 load 一下, 否则直接 play 无效
audioEl.play(); // iOS 7/8 仅需要 play 一下
}
var audioEl = document.getElementById('bgmusic');
audioEl.addEventListener('loadstart', function() {
log('loadstart');
}, false);
audioEl.addEventListener('loadeddata', function() {
log('loadeddata');
}, false);
audioEl.addEventListener('loadedmetadata', function() {
log('loadedmetadata');
}, false);
audioEl.addEventListener('canplay', function() {
log('canplay');
}, false);
audioEl.addEventListener('play', function() {
log('play');
// 当 audio 能够播放后, 移除这个事件
window.removeEventListener('touchstart', forceSafariPlayAudio, false);
}, false);
audioEl.addEventListener('playing', function() {
log('playing');
}, false);
audioEl.addEventListener('pause', function() {
log('pause');
}, false);
// 由于 iOS Safari 限制不允许 audio autoplay, 必须用户主动交互(例如 click)后才能播放 audio,
// 因此我们通过一个用户交互事件来主动 play 一下 audio.
window.addEventListener('touchstart', forceSafariPlayAudio, false);
audioEl.src = "static/music.mp3";
})();
</script>
<!-- BEGIN GO TO TOP -->
<a href="#." class="back-to-top" id="back-to-top">
<i> ♥ </i>
</a>
<!-- END GO TO TOP -->
<script type="text/javascript">
jQuery(document).ready(function($) {
/*------------------------------ WOW Script ----------------------*/
new WOW().init();
});
</script>
<script type='text/javascript' src='static/js/jquery.form.min.js'></script>
<script type='text/javascript' src='static/js/scripts.js'></script>
<script type='text/javascript' src='static/js/mediaelement-and-player.min.js'></script>
<script type='text/javascript' src='static/js/wp-mediaelement.js'></script>
<script type='text/javascript' src='static/js/1bootstrap.min.js'></script>
<script type='text/javascript' src='static/js/modernizr.custom.js'></script>
<script type='text/javascript' src='static/js/jquery-ui.min.js'></script>
<script type='text/javascript' src='static/js/jquery.easing.min.js'></script>
<script type='text/javascript' src='static/js/jquery.sticky.js'></script>
<script type='text/javascript' src='static/js/jquery.parallax.js'></script>
<script type='text/javascript' src='static/js/masonry.pkgd.min.js'></script>
<script type='text/javascript' src='static/js/jquery.fitvids.js'></script>
<script type='text/javascript' src='static/js/wow.min.js'></script>
<script type='text/javascript' src='static/js/waypoints.min.js'></script>
<script type='text/javascript' src='static/js/smoothscrolling.js'></script>
<script type='text/javascript' src='static/js/jquery.appear.min.js'></script>
<script type='text/javascript' src='static/js/jquery.countto.js'></script>
<script type='text/javascript' src='static/js/jquery.mixitup.min.js'></script>
<script type='text/javascript' src='static/js/imagesloaded.pkgd.min.js'></script>
<script type='text/javascript' src='static/js/owl.carousel.min.js'></script>
<script type='text/javascript' src='static/js/jquery.magnific-popup.min.js'></script>
<script type='text/javascript' src='static/js/slide-fade-content.js'></script>
<script type='text/javascript' src='static/js/countup.js'></script>
<script type='text/javascript' src='static/js/modernizr.hover.js'></script>
<script type='text/javascript' src='static/js/custom.js'></script>
<script type='text/javascript' src='static/js/style-switcher.js'></script>
<script type='text/javascript' src='static/js/comment-reply.min.js'></script>
<script type='text/javascript' src='static/js/jquery.nav.js'></script>
</body>
<link rel="stylesheet" href="static/css/cuplayer.css">
<div style="position:absolute; top:150px; right:50px;z-index: 9999999;">
<a class="c-white fs-12 icon-play rotate" id="btn-play" href="javascript:void(0);"></a>
</div>
<script type="text/javascript">
//获取picid函数
$(function() {
$("area").click(function() {
var picId = $(this).attr("data-id");
var picSrc = "images/img_big/" + picId + ".jpg"
$(".modal-content>.pic-box>img").attr("src", picSrc);
})
var isPlaying = function(audio) {
return !audio.paused;
}
var a = document.getElementById('main_audio');
$('#btn-play').on('click', function() {
if ($(this).hasClass('rotate')) {
a.pause();
$(this).removeClass('rotate');
} else {
a.play();
$(this).addClass('rotate');
}
});
})
</script>
<script src="static/js/jweixin-1.0.0.js"></script>
<script>
function autoPlayAudio1() {
wx.config({
// 配置信息, 即使不正确也能使用 wx.ready
debug: false,
appId: '',
timestamp: 1,
nonceStr: '',
signature: '',
jsApiList: []
});
wx.ready(function() {
document.getElementById('main_audio').play();
});
}
autoPlayAudio1(); // 推荐使用方法1
</script>
<script type='text/javascript' src='static/js/common_love.js'></script>
</html>
<div style="display:none">
<script type="text/javascript" src="static/js/c.js"></script>
</div>
<!-- Dynamic page generated in 0.159 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2017-05-01 08:59:44 -->
<!-- super cache -->
2.CSS代码
/*------Custom css luv theme-------*/
#dslc-content i {
font-style: normal;
}
.blog-post-media img {
max-width: 100%;
}
.gallery-item {
margin: 0;
}
#gallery-1 {
margin-bottom: 12px;
}
.blog-post-media ol {
overflow: hidden;
list-style-type: decimal;
}
.blog-post-media ol li {
float: left;
width: 100%;
display: list-item;
font-size: 14px;
}
.blog-post-media ol li:after {
content: "";
}
.blog-post-media ul {
list-style-type: square;
overflow: hidden;
margin: 0;
}
.blog-post-media ul li {
float: left;
width: 100%;
display: list-item;
font-size: 14px;
}
.blog-post-media ul li:after {
content: "";
}
.sticky .blog-post-media {
-moz-box-shadow: 0 8px 15px rgba(239, 106, 138, 0.6);
-webkit-box-shadow: 0 8px 15px rgba(239, 106, 138, 0.6);
box-shadow: 0 8px 15px rgba(239, 106, 138, 0.6);
}
.language .dropdown-menu {
min-width: 60px;
max-width: 60px;
margin: 2px 0 0 -30px;
}
.menu-item-language.menu-item-language-current a {
padding: 14px 2px;
}
#bar {
width: 0%;
max-width: 100%;
height: 4px;
background: #EF6A8A;
}
#progressBar {
width: 100%;
background: #EDEDED;
z-index: 5;
position: relative;
}
#owl-demo {
height: 100%;
overflow: hidden;
}
#myCarousel .overlay2 {
top: 0px;
}
#myCarousel .geo {
top: 0px;
}
.switcher {
position: fixed;
padding: 5px;
left: -88px;
z-index: 999999999999999999999999999999999;
width: 88px;
height: auto;
background: #f7f7f7;
padding-top: 10px;
-webkit-transition: all .25s ease-out;
-o-transition: all .25s ease-out;
transition: all .25s ease-out;
border: solid 1px #ddd;
}
.switcher .fa-cog {
background: #f7f7f7;
border: solid 1px #ddd;
color: #707070;
width: 50px;
height: 50px;
font-size: 36px;
text-align: center;
line-height: 50px;
cursor: pointer;
position: absolute;
right: -50px;
top: -1px;
}
.switcher .fa-cog:hover {
-webkit-animation: spin 2s linear;
-moz-animation: spin 2s linear;
-o-animation: spin 2s linear;
animation: spin 2s linear;
}
.switcher.active {
left: 0;
-webkit-transition: all .25s ease-out;
-o-transition: all .25s ease-out;
transition: all .25s ease-out;
}
.switcher .box {
width: 30px;
min-height: 30px;
max-height: 30px;
text-indent: -9999px;
cursor: pointer;
border: none !important;
color: #fff;
float: left;
margin: 4px;
text-align: left;
padding: 8px;
font-weight: 700;
-moz-box-shadow: 0 0 5px #888;
-webkit-box-shadow: 0 0 5px#888;
box-shadow: 0 0 5px #888;
font-size: 11px;
}
#default {
background: rgba(194, 91, 134, 0.9);
}
#blue {
background: #6699FF;
}
#asparagus {
background: #7BA05B;
}
#green {
background: #08C0A4;
}
#orange {
background: #fa6900;
}
#purple {
background: #e281ef;
}
#yellow {
background: #f8ca00;
}
#tomato {
background: #FF6347;
}
#teal {
background: #008080;
}
#pink {
background: #FF69B1;
}
#lima {
background: #73B819;
}
#java {
background: #19B8AF;
}
#turquoise {
background: #40E8D9;
}
三、精彩专栏
看到这里了就 【点赞,好评,收藏】
三连 支持下吧,你的支持是我创作的动力