事先声明
这个网页设计也就是用了我学到的知识做的一个中规中矩的网页,可以给以后的大一新生们做个参考,和商业网站的效果肯定是没得比的,期望太高的可以关掉了
引入页
效果图:
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200622233952656.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2dyZWVuZ2lybDU=,size_16,color_FFFFFF,t_70)
欢迎来到香氛密语
body {
background: url(img/1的背景图.jpg) no-repeat center center;
background-size: cover;
/* 让背景图基于容器大小伸缩 */
background-attachment: fixed;
/* 当内容高度大于图片高度时,背景图像的位置相对于viewport固定 此条属性必须设置否则可能无效*/
background-color: #CCCCCC;
/* 设置背景颜色,背景图加载过程中会显示背景色 */
}
div.dialog-bz {
width: 550px;
height: 300px;
margin: auto;
margin-top: 200px;
background-color: white;
padding: 50px 50px 30px;
box-shadow: 10px 10px 15px black;
text-align: center;
}
.music {
float: right;
padding-bottom: 600px;
}
.dialog-bz-btn {
text-decoration: none;
font-size: larger;
color: #1f4e5f;
}
h2 {
font-family: Courier New;
}
#start {
width: 40px;
height: 40px;
}
a:hover {
background-color: #f4f7f7;
padding: 10px;
}
I wear nothing but a few drops of perfume.
把六月夜晚花园里氤氲升腾的花香包起来送给亲爱的你
立即探索
对不起,您的浏览器不支持HTML5音频API
var music = document.getElementById("audio1");
var toggleBtn = document.getElementById("play");
function toggleMusic() {
if (music.paused) {
music.play(); //如果音乐未播放则播放音乐
document.getElementById("start").src = "img/pause.png";
} else {
music.pause(); //暂停音乐
document.getElementById("start").src = "img/play.png";
}
}
**
主页
** 效果图: 代码:
欢迎来到香氛密语
body {
background: url(img/蓝灰色背景图.jpg) no-repeat center center;
background-size: cover;
/* 让背景图基于容器大小伸缩 */
background-attachment: fixed;
/* 当内容高度大于图片高度时,背景图像的位置相对于viewport固定 此条属性必须设置否则可能无效*/
background-color: #CCCCCC;
/* 设置背景颜色,背景图加载过程中会显示背景色 */
}
#left {
background-color: #79a8a9;
color: #f4f7f7;
height: 800px;
width: 550px;
float: left;
margin-top: 25px;
}
#words {
color: #79a8a9;
font-family: NSimSun;
/*font-family: FZShouJinShu-S10S;*/
}
#right {
background-color: #dae9f4;
height: 800px;
width: 950px;
float: right;
margin-top: 25px;
}
footer {
background-color: #1f4e5f;
color: #f4f7f7;
clear: both;
text-align: center;
}
#video1 {
float: left;
height: 400px;
width: 950px;
}
video {
height: 400px;
width: 570px;
padding-left: 5px;
padding-top: 5px;
}
#picture {
height: 390px;
width: 945px;
float: right;
background-color: #58C9B9;
}
#poem {
float: right;
color: #1f4e5f;
/*font-family: NSimSun;*/
background-color: #c6e5d9;
text-align: center;
width: 370px;
height: 397px;
padding-top: 5px;
}
img {
float: left;
width: 510px;
height: 320px;
margin-top: 50px;
}
nav {
display: block;
padding: 10px 60px;
padding-top: 0;
margin-left: 300px;
}
ul {
list-style-type: none;
}
a:link,
a:visited {
display: block;
font-weight: bold;
color: #f4f7f7;
background-color: #7f9eb2;
box-shadow: 10px 10px 15px #f4f7f7;
width: 200px;
padding: 10px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
a:hover {
background-color: #aacfd0;
}
a:active {
background-color: #79a8a9;
}
li {
float: left;
}
;;;;;;;;;;;;;大地夜幕四周,天空星光闪烁,天与地之间充满轻盈芬芬
;闪着微光的萤火虫飞来,说:“美人啊,请你帮我将这空气全部包起来好么?”
;;;;;;;;
“是送给谁的礼物吗?”
;;;;;;;;;
“是的呀,我将它送给你。”
香水之都
香水分类
男香与女香
定制密语
Chanel
I wear nothing but a few drops of Chanel No.5.
Calvin Klein
We are one for all for ever.
DIOR
Gold is cold.Diamonds are dead.A Limousine is a car.Don't Pretend.Feel what's real.C'est Ca Que J'adore.
Dior Addict the now fragrance from Dior
Tom Ford
再来一趟我的梦里吧,就今晚。这次我要冲进你怀里,呼吸着你身上好闻的味道告诉你这几天的委屈以及我好想你
对不起,您的浏览器不支持视频API!
Daisy
漫山遍野的花海
溪边微凉的夏风
白色纱裙的女孩
那个我们永远怀念的夏天
有一种诗意可以形容见空的瓶底
是酒?
还是香水
对不起,您的浏览器不支持HTML5音频API
版权 © zhuchuchu5
分页一
效果图: 代码:
香水缘起
html{height:100%}
body{
height:100%;
width:70% margin-left:30%;
padding:25px;
background: url(img/背景图3.jpg) no-repeat center center;
background-size: cover;
/* 让背景图基于容器大小伸缩 */
background-attachment: fixed;
/* 当内容高度大于图片高度时,背景图像的位置相对于viewport固定 此条属性必须设置否则可能无效*/
background-color: #CCCCCC;
/* 设置背景颜色,背景图加载过程中会显示背景色 */
}
#container{height:100%;}
img{
width: 50px;
height: 50px;
float: right;
}
#world{
border-left: 600px;
margin-top: 15px;
margin-bottom: 5px;
padding-left: 30px;
border: 2px dashed #1F4E5F;
font-size: larger;
/*width: 650px;*/
}
h2{
margin:0;
width: 600px;
}
h3{
margin: 0;
width: 500px;
}
//v2.0版本的引用方式:src="http://api.map.baidu.com/api?v=2.0&ak=您的密钥"
香水之都——法国普罗旺斯格拉斯
“没有在格拉斯历练过的人,不配自称为香水制造者。”
从 18 世纪末以来,格拉斯就是法国香水业的中心。
在这座南法小城,有 30 多家香水厂和调香实验室,
三分之二的居民工作都和香水有关。随着近些年旅游产业的发展,
参观香水工厂,了解香水文化,成为了不少游客来到这里深度游的选择。
var map = new BMap.Map("container");
// 创建地图实例
var point = new BMap.Point(6.924,43.6591);
// 创建点坐标 116.404, 39.915 6.92478 43.6591
map.centerAndZoom(point, 15);
// 初始化地图,设置中心点坐标和地图级别
map.centerAndZoom(new BMap.Point(6.924,43.6591), 11);;
map.addControl(new BMap.NavigationControl());
分页二
效果图: 代码:
香水分类
body {
background: url(img/背景图3.jpg) no-repeat center center;
background-size: cover;
/* 让背景图基于容器大小伸缩 */
background-attachment: fixed;
/* 当内容高度大于图片高度时,背景图像的位置相对于viewport固定 此条属性必须设置否则可能无效*/
background-color: #CCCCCC;
/* 设置背景颜色,背景图加载过程中会显示背景色 */
}
div {
background-color: #f4f7f7;
width: 800px;
height: 900px;
margin: auto;
box-shadow: 10px 10px 15px #7F9EB2;
}
hr {
width: 80%;
background-color: #7F9EB2;
height: 3px;
}
h1 {
padding-top: 35px;
color: #7F9EB2;
text-align: center;
}
h3 {
padding-left: 50px;
padding-right: 50px;
color: #1f4e5f;
}
table {
border-collapse: collapse;
width: 70%;
margin: auto;
}
table,
td,
th {
border: 3px solid #D1B6E1;
}
.alt {
background-color: #C6E5D9;
color: #1F4E5F;
}
tr {
color: #1F4E5F;
background-color: white;
}
img {
width: 50px;
height: 50px;
float: right;
}
香 水 分 类
;;;;香水是一种混合了香精油、固定剂与酒精的液体,用来让物体(通常是人体部位)拥有持久且悦人的气味。
;;;;根据酒精与香料的比例不同,相对的在香味的表现上也会有所差异,这个比例也就是所谓的赋香率,当赋香率越高,
也就代表酒精浓度较低,香精的比例也就比较高,香水也会比较持久,一般分为四个等级。
;;;;精油是取自于花草植物的蒸馏,比如说橘花或玫瑰。如果无法蒸馏的时候,就会使用脂吸法enfleurage,比如茉莉原精Jasmin Absolute。
酒精浓度则取决于是香水、淡香水还是古龙水,并且香水的保存期限通常是五年。
香水的等级
缩写
浓度
持续时间
特征
香精Parfum
P
15~30%
5~7h
香料的纯度最高,持续时间长,通常都是以沾式的设计为主,少量使用在
手腕及颈部,就能够有很持久的表现
淡香精Eau de Parfum
EDP
10~15%
5h左右
淡香精的持久度表现会比淡香水来的理想,若您的工作场合
或活动的环境不太允许您常常补香,淡香精会是您最佳的选择。
淡香水Eau de Toilette
EDT
5~10%
3~4h
淡香水的酒精比例较高,较容易挥发,通常清晨使用后,
在中午休息可以再补香,微微的气息可以持续到下午,适合喜欢清爽的人。
古龙水Eau de Cologne
EDC
3~5%
1~2h
古龙水多半以清爽的柑橘调居多,适合用在运动之后,洗澡之后,
或者想要转换心情及恢复精神的时候使用。
;;;;香精适用于夜晚外出或赴宴会等正式场合使用,每次只需少量涂抹腕部等重点部位即可;
香水适合白天的宴会或是假期外出使用;淡香水,是男用香水中最常见的品种,香味轻柔,更适合办公室的环境.
对不起,您的浏览器不支持HTML5音频API
分页三
效果图: 代码:
男香与女香
/*body{
background-color: #C6E5D9;
}*/
h1 {
color: #1F4E5F;
text-align: center;
}
#oneword {
float: left;
margin: auto;
padding: 10px 26px;
margin-top: 50px;
color: #1F4E5F;
}
#one {
display: block;
float: left;
width: 30px;
height: 60px;
padding-top: 0px;
margin-top: 50px;
}
#word1 {
margin-left: 500px;
text-align: center;
width: 750px;
height: 150px;
border: 3px dashed mediumpurple;
font-size: larger;
color: #1F4E5F;
}
#word2 {
margin-left: 10px;
margin-top: 50px;
padding-left: 20px;
width: 750px;
height: 200px;
border: 3px dashed mediumpurple;
font-size: larger;
color: #1F4E5F;
}
#twoword {
float: right;
margin-top: -150px;
margin-right: 100px;
color: #1F4E5F;
}
#two {
display: block;
float: right;
width: 30px;
height: 60px;
margin-right: 65px;
margin-top: -160px;
color: #1F4E5F;
}
#two2 {
display: block;
float: right;
width: 30px;
height: 60px;
margin-right: 470px;
margin-top: -160px;
}
#three {
display: block;
float: left;
width: 30px;
height: 60px;
padding-top: 0px;
margin-top: 150px;
}
#threeword {
float: left;
padding: 10px 26px;
margin-top: 150px;
color: #1F4E5F;
}
#word3 {
margin-left: 500px;
margin-top: 50px;
width: 900px;
height: 300px;
border: 3px dashed mediumpurple;
font-size: larger;
padding-left: 20px;
padding-top: 20px;
color: #1F4E5F;
}
img {
width: 50px;
height: 50px;
float: right;
}
男香与女香
;;;;香水是我们平时经常可以见到有很多人都喜欢使用的一种彩妆产品,现在市面上的香水都分男士香水和女士香水,男香和女香是有一定区别的,那么男士香水女士能用吗?如何区分传统意义上的男香和女香。
男士香水女士能用吗?
可以,不过要选择比较中性的男士香水,如果你用了一种比较男性化的男士香水,
异性在你身边可能会觉得很奇怪,当然,这只是一种下意识的感受,不是所有人都会很敏感,但是当你用男士香水后,在香水的尾调也就是大概30分钟
或更久一些之后,你自己也会有明显的感觉,不如女士香水和你本人结合的那么自然。
女香
一般花、粉、甜会被认为是女香。
从取材上看,女士香水很广泛,花,花木,花果,奶香调都有。味道比较香甜。
男香
传统意义的男香就是被大众叫做古龙水的味道。
男士香水一般树木,皮革,烟草等香味多些。味道通常会有比较重的麝香味,比较干练,清爽。
如何区分传统意义上的男香和女香
男士香水怎么喷效果最好
1、香精是以“点”,男士香水是以“线”
淡男士香水是以“面”的方式来喷涂,浓度越低,涂抹的范围应越广。
2、七点法
首先将男士香水分别喷于左右手腕静脉处,双手中指及无名指轻触对应手腕静脉处,随后轻触双耳后侧、后颈部;
轻拢头发,并于发尾处停留稍久;双手手腕轻触相对应的手肘内侧;使用喷雾器将男士香水喷于腰部左右两侧,左右手指
分别轻触腰部喷香处,然后用沾有男士香水的手指轻触大腿内侧、左右腿膝盖内侧、脚踝内侧,七点擦香法到此结束。
注意擦香过程中所有轻触动作都不应有摩擦,否则香料中的有机成分发生化学反应,可能破坏男士香水的原味。
对不起,您的浏览器不支持HTML5音频API
分页四
效果图: 代码:
定制密语
body{
background: url(img/背景图4.jpg) no-repeat center center;
background-size: cover;
/* 让背景图基于容器大小伸缩 */
background-attachment: fixed;
/* 当内容高度大于图片高度时,背景图像的位置相对于viewport固定 此条属性必须设置否则可能无效*/
background-color: #CCCCCC;
/* 设置背景颜色,背景图加载过程中会显示背景色 */
}
form{
height: 750px;
width: 850px;
box-shadow:10px 10px 15px black;
background-color: white;
/*margin-left: 400px;*/
margin:auto; /*当margin设置为auto则会有居中对齐的效果*/
}
hr{
width:80%;
height:3px;
background-color:#1f4e5f ;
border: 0;
}
button{
background-color: #519D9E;
color: white;
margin-top: 20px;
margin-left: 380px;
padding: 10px;
border: 20px;
}
form{
height: 950px;
width: 900px;
}
label{
margin-left: 15px;
}
ol{
margin-left: 80px;
}
li{
margin-top: 10px;
margin-bottom: 10px;
color: #1f4e5f;
font-size: larger;
}
h1{
color: #1f4e5f;
text-align: center;
padding-top: 30px;
padding-bottom: 5px;
margin: 0;
}
ol{
margin-left: 100px;
}
h4{
margin-left: 250px;
margin-right: 250px;
text-align: center;
font-size: larger;
background-color: whitesmoke;
color: #519D9E;
}
img{
width: 50px;
height: 50px;
float: right;
}
香水倾向调查
获取六月香氛密语
您的性别
男
女
您的年龄段是?
18岁以下
18-25岁
26-30岁
31-35岁
35岁以上
您日常是否会使用香水?
偶尔
有时
经常
每天
您喜欢以下什么类型的味道?(可多选)
花 香
木质香
果 香
都不喜欢
您喜欢以下哪一类别的香水?(可多选)
香精
淡香精
淡香水
古龙水
都不喜欢
提交问卷
function myFunction() {
var x;
var d = Math.round(Math.random() * 13);
switch (d) {
case 0:
x = "芦丹氏 八月夜桂花把八月夜晚花园里氤氲升腾的花香包起来,送给亲爱的你…";
break;
case 1:
x = "Chanel No.5I wear nothing but a few drops of Chanel No.5.";
break;
case 2:
x = "ck beBe good,be bad,just be yourself.";
break;
case 3:
x = "YSL反转巴黎从我闻到她身上香水味的那一刻起,脑子里已经想和她过完一生";
break;
case 4:
x = "芦丹氏孤儿怨我即将破碎,但我依旧完整。我见过人生百态,生而如此不凡。我从不难过,人间不值得。世人说她孤傲高冷,但总有人能一眼看穿她深藏的温柔。";
break;
case 5:
x = "罗意威 事后清晨灵动清甜的佛手柑,馥郁温暖的檀香,这是属于你的味道";
break;
case 6:
x = "香奈儿蔚蓝假如可以,我想余生的每一秒记忆,都是关于你的香气";
break;
case 7:
x = "MiuMiu想与你呆坐到黄昏,跳舞到清晨,地暗天昏,虚度人生";
break;
case 8:
x = "Byredo无人区玫瑰我踏碎所有的冰山,不远万里,去找你";
break;
case 9:
x = "Kenzo风之恋我们出生穿的第一件衣服,是风。";
break;
case 10:
x = "Bvlgari 白茶白茶清欢无别事,我在等风也等你,若酒折柳今相离,无风无月也无你";
break;
case 11:
x = "银色山泉这个世纪疯狂、没人性、腐败,你却一直清醒、温柔、一尘不染";
break;
case 12:
x = "Gucci 罪爱永不为自己的快乐而感到有罪";
break;
}
document.getElementById("demo").innerHTML = x;
}
对不起,您的浏览器不支持HTML5音频API
|