首页 > 其他分享 >制作油纸伞

制作油纸伞

时间:2024-06-21 18:01:40浏览次数:18  
标签:油纸伞 width margin height ul videobox 制作 left

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>泸州油纸伞</title>
    <link rel="stylesheet" type="text/css" href="new_file.css"/>
</head>
<body>
<!-- videobox began -->
<div class="videobox">
        <header>
            <div class="con">
                <section class="left"></section>
                <section class="right">
                    <a href="#">登录</a>
                    <a href="#">注册</a>
                </section>
            </div>
        </header>
        <nav>
            <ul>
                <li class="left">
                    <a class="one" href="#">
                        <img src="images/sanxian.png" alt="">
                        <span>选项</span>
                        <img src="images/sanjiao.png" alt="">
                    </a>
                    <aside>
                        <span></span>
                        <ol class="zuo">
                            <li class="con">油纸伞产品分类</li>
                            <li>>彩印类</li>
                            <li>>手绘类</li>
                            <li>>植物标本类</li>
                            <li>>石板印刷类</li>
                            <li class="con">油纸伞功能分类</li>
                            <li>>装饰吊顶</li>
                            <li>>户外庭院</li>
                            <li>>婚庆</li>
                            <li class="con">油纸伞节日礼物</li>
                            <li>>节节高升</li>
                            <li>>团圆美满</li>
                            <li>>平安宝福</li>					
                        </ol>
                        <ol class="you">
                            <li class="con">油纸伞介绍</li>
                            <li>>认识油纸伞</li>
                            <li>>油纸伞历史</li>
                            <li>>工艺特色</li>
                            <li>>文化内涵</li>
                            <li class="con">热门搜索</li>
                            <li>>摄影专用</li>
                            <li>>遮阳伞</li>
                            <li>>影视同款</li>
                            <li>>舞蹈</li>						
                        </ol>
                        <img src="images/tu1.jpg" alt="">
                    </aside>
                </li>
                <li class="center">
                    <form>
                    <input type="text" value="请输入商品名称、品牌或编号">
                    </form>
                </li>
                <li class="right">
                    <a href="#">&#xe65e;</a>
                    <a href="#">&#xe608;</a>
                    <a href="#">&#xf012a;</a>
                    <a href="#">&#xe68e;</a>
                </li>
            </ul>
        </nav>
        <video src="./video/home_loop_720p.mp4" loop muted></video>
        <audio src="./audio/buguniao.mp3" autoplay loop></audio>
        <div class="pic">
            <p>第二批国家级非物质文化遗产名录(The second batch of national intangible cultural heritage list)</p>
            <ul>
                <li class="one"><span>&#xe662;</span>STANDARD标准</li>
                <li class="two"><span>&#xe662;</span>HD高清</li>
            </ul>
        </div>
</div>
<!-- videobox end -->
<!-- classic began -->
<div class="classic">
    <header>
        <img src="images/new.png" alt="">
    </header>
    <p>采用安全无镉丙烯颜料,性质稳定,不易褪色</p>
    <ul>
        <li>
            <hgroup>
                <h2>白玉兰-油纸伞</h2>
                <h2>加厚油纸,天然桐油</h2>
                <h2></h2>
                <h2></h2>
            </hgroup>
        </li>
        <li>
            <hgroup>
                <h2>桃花-油纸伞</h2>
                <h2>加厚油纸,天然桐油</h2>
                <h2></h2>
                <h2></h2>
            </hgroup>
        </li>
        <li>
            <hgroup>
                <h2>幽兰山谷-油纸伞</h2>
                <h2>加厚油纸,天然桐油</h2>
                <h2></h2>
                <h2></h2>
            </hgroup>
        </li>
    </ul>
</div>
<!-- classic end -->
<!-- try began -->
<div class="try">
	<header>
		<img src="images/gongyi.png" alt="">
	</header>
	<p>300年工艺传承,独具精工匠心,108道工序</p>
	<ul>
		<li>
			<img class="zheng" src="images/try1.jpg" alt="">
			<img class="fan" src="images/try4.jpg" alt="">
		</li>
		<li>
			<img class="zheng" src="images/try2.jpg" alt="">
			<img class="fan" src="images/try5.jpg" alt="">
		</li>
		<li>
			<img class="zheng" src="images/try3.jpg" alt="">
			<img class="fan" src="images/try6.jpg" alt="">
		</li>
	</ul>
</div>
<!-- try end -->
<!-- make began -->
<div class="make">
	<header>
		<img src="images/pinpai.png" alt="">
	</header>
	<p>我们更专业 用户更放心</p>
	<ul>
		<li>
			<img  class="tu" src="images/cp1.jpg" alt="">
			<img class="tihuan" src="images/th1.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp2.jpg" alt="">
			<img class="tihuan" src="./images/th2.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp3.jpg" alt="">
			<img class="tihuan" src="./images/th3.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp4.jpg" alt="">
			<img class="tihuan" src="./images/th4.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp5.jpg" alt="">
			<img class="tihuan" src="./images/th5.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp6.jpg" alt="">
			<img class="tihuan" src="./images/th6.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp7.jpg" alt="">
			<img class="tihuan" src="./images/th7.png" alt="">
		</li>
		<li>
			<img class="tu" src="./images/cp8.jpg" alt="">
			<img class="tihuan" src="./images/th8.png" alt="">
		</li>
	</ul>
</div>
<!-- make end -->
<!-- biaodan began -->
<footer>
	<div class="logo"></div>
	<div class="message">
		<form>
			<ul class="left">
				<li>
					<p><label for="">姓名:</label></p>
					<input type="text">
				</li>
				<li>
					<p>邮箱:</p>
					<input type="email">
				</li>
				<li>
					<p>电话:</p>
					<input type="tel" pattern="^\d{11}$" title="请输入11位数字">
				</li>
				<li>
					<p>密码:</p>
					<input type="password">
				</li>
				<li>
					<input class="but" type="submit" value="">
				</li>
			</ul>
			<div class="right">
				<p>留言:</p>
				<textarea></textarea>
			</div>
		</form>
	</div>
</footer>
<!-- biaodan end -->
<!-- banquan began -->
<div class="banquan">
    <a href="#">泸州油纸伞 独具匠心 工艺传承</a>
</div> 
<!-- banquan end -->
</body>
</html>

接下来是css部分的代码

/*重置浏览器的默认样式*/
body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, img {margin:0; padding:0; border:0; list-style:none;}
/*全局控制*/
body{ font-family:"微软雅黑",Arial, Helvetica, sans-serif; font-size:14px;}
/*超链接默认样式*/
a:link,a:visited{ color:#999;text-decoration: none;}
/*鼠标指针移上超链接时的样式*/                                               
a:hover{color:#fff;}
input,textarea{outline: none;}                      
/* videobox */
 .videobox{
	width:100%;
	height:1000px;
	overflow: hidden;
	position: relative;
}
.videobox video{
	width:100%;
	min-width:1920px;
	position: absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}
.videobox header{
	width:100%;
	height:40px;
	background: #333;
	z-index: 999;
	position: absolute;
}
.videobox header .con{
	width:1030px;
	height:40px;
	margin:0 auto;
}
.videobox header .left{
	width:75px;
	height:20px;
	background:url(images/logo.png) 0 0 no-repeat;
	margin-top: 10px;
	float: left;
}
.videobox header .right{
	margin-top: 10px;
	float: right;
	font-family: "freshskin";
}
.videobox header .right a{margin-right: 10px;}
.videobox nav{
	width:100%;
	height:90px;
	background: rgba(0,0,0,0.2);
	z-index: 1000;
	position: absolute;
	top:40px;
	border-bottom: 1px solid #fff;
}
.videobox nav ul{
	width:1030px;
	height:90px;
	margin:0 auto;
	position: relative;
}
.videobox nav ul li{
	float: left;
	margin-right: 19%;
}
.videobox nav ul .left:hover aside{display: block;}
.videobox nav ul .left a{
	display: block;
	height:90px;
	line-height: 90px;
	font-size: 20px;
	color:#fff;
}
.videobox nav ul .left a img{vertical-align: middle;}
.videobox nav ul .left a span{margin:0 10px;}
.videobox aside{
	display: none;
	width:380px;
	height:560px;
	background: rgba(0,0,0,0.3);
	position: absolute;
	left:0;
	top:90px;
	z-index: 1500;
	color:#fff;
}
.videobox aside span{
	width:20px;
	height:14px;
	background:url(images/liebiao.png) 0 0 no-repeat;
	position: absolute;
	left:50px;
	top:0;
}
.videobox aside ol{
	width:155px;
	float: left;
}
.videobox aside ol li{
	width:155px;
	height:25px;
	line-height: 25px;
	cursor: pointer;
	font-family: "宋体";
}
.videobox aside ol li.con{
	font-size: 16px;
	text-indent: 0;
	font-family: "微软雅黑";
	padding: 10px 0;
}
.videobox aside ol li:hover{color:#fff;}
.videobox aside .zuo{margin:35px 0 0 68px;}
.videobox aside .you{margin-top: 35px;}
.videobox aside img{margin:10px 0 0 13px;}
.videobox nav ul .center{margin-top: 32px;}
.videobox nav ul .center input{
	width:240px;
	height:30px;
	border:1px solid #fff;
	border-radius: 15px; 
	color:#fff;
	line-height: 32px;
	background: rgba(0,0,0,0);
	padding-left: 30px;
	box-sizing:border-box;
	background:url(images/search.png) no-repeat 3px 3px;
	outline: none; 
}
.videobox nav ul .right{
	margin-top: 32px;
	width:280px;
	height:32px;
	margin-right:0;
	font-family: "freshskin";
	text-align: center;
	line-height: 32px;
	font-size: 16px;
} 
.videobox nav ul .right a{
	display: inline-block;
	width:32px;
	height:32px;
	color:#fff;
	box-shadow: 0 0 0 1px #fff inset;
	transition:box-shadow 0.3s ease 0s; 
	border-radius: 16px; 
	margin-left: 30px;
}
.videobox nav ul .right a:hover{
	box-shadow: 0 0 0 16px #fff inset; 
	color:#C1DCC5;
}
.videobox .pic{
	width:800px;
	height:400px;
	position: absolute;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	background: url(images/wenzi.png) no-repeat;
	text-align: center;
}
.videobox .pic p{
	margin-top: 415px;
	color:#4c8174;
}
.videobox .pic ul{
	position: absolute;
	color:#999;
}
.videobox .pic ul li{
	width:180px;
	height:56px;
	border-radius: 28px;
	background: #fff;
	text-align: left;
}
.videobox .pic ul .one{
	line-height: 56px;
	position: absolute;
	left: -1920px;
	top:40px;
	opacity: 0;
	transition:all 2s ease-in 0s;
}
.videobox .pic ul .two{
	line-height: 56px;
	position: absolute;
	left: 1920px;
	top:40px;
	opacity: 0;
	transition:all 2s ease-in 0s;
}
body:hover .videobox .pic ul .one{
	position: absolute;
	left:200px;
	top:40px;
	opacity:0.8;
}
body:hover .videobox .pic ul .two{
	position: absolute;
	left:400px;
	top:40px;
	opacity:0.8;
}
.videobox .pic ul .one span,.videobox .pic ul .two span{
	float: left;
	width:40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	border-radius: 20px;
	margin:8px 10px 0 10px;
	box-shadow: 0 0 0 1px #90c197 inset;
	transition:box-shadow 0.3s ease 0s;
	font-family: "freshskin";
	font-weight: bold;
	color:#90c197;
}
.videobox .pic ul .two span{margin:8px 30px 0 10px;}
.videobox .pic ul .one:hover span,.videobox .pic ul .two:hover span{
	box-shadow: 0 0 0 20px #90c197 inset;
	color:#fff;
} 
/* videobox */
@font-face {font-family: 'freshskin';src:url(fonts/iconfont.svg);}
/* classic */
.classic{
	width:100%;
	height:530px;
	background: #fff;
}
.classic header{
	width:487px;
	height: 95px;
	background: #f7f7f7;
	border-radius: 48px;
	margin:70px auto 0;
	box-sizing:border-box;
	padding:0 15px ;
}
.classic p{
	margin-top: 10px;
	text-align: center;
	color: #db0067;
}
.classic ul{
	margin:70px auto 0;
	width: 960px;
}
.classic ul li{
	width:266px;
	height:250px;
	border:1px solid #ccc; 
	background:url(images/pic1.jpg) 0 0 no-repeat;
	float: left;
	margin-right:8%;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}
.classic ul li:nth-child(2){background-image: url(images/pic2.jpg);}
.classic ul li:nth-child(3){
	margin-right: 0;
	background-image: url(images/pic3.jpg);
}
.classic ul li hgroup{
	position: absolute;
	left:0;
	top:-250px;
	width:266px;
	height:250px;
	background: rgba(0,0,0,0.5);
	transition:all 0.5s ease-in 0s;
}
.classic ul li:hover hgroup{
	position: absolute;
	left:0;
	top:0;
}
.classic ul li hgroup h2:nth-child(1){
	font-size: 22px;
	text-align: center;
	color:#fff;
	font-weight: normal;
	margin-top: 58px;
}
.classic ul li hgroup h2:nth-child(2){
	font-size: 14px;
	text-align: center;
	color:#fff;
	font-weight: normal;
	margin-top: 15px;
}
.classic ul li hgroup h2:nth-child(3){
	width:26px;
	height: 26px;
	margin-left: 120px;
	margin-top: 15px;
	background:url(images/jiantou.png) 0 0 no-repeat;
}
.classic ul li hgroup h2:nth-child(4){
	width:75px;
	height: 22px;
	margin-left: 95px;
	margin-top: 25px;
	background:url(images/anniu.png) 0 0 no-repeat;
} 
/* classic */
/* try */
.try{
	width:100%;
	height:312px;
	background:#299585;
	padding-top: 70px;
}
.try header{
	width:555px;
	height: 95px;
	background: #f7f7f7;
	border-radius: 48px;
	margin:0 auto;
	box-sizing:border-box;
	padding:7px 0 0 35px;
}
.try p{
	margin-top: 10px;
	text-align: center;
	color: #fff;
}
.try ul{
	margin:70px auto 0;
	width: 960px;
}
.try ul li{
	width:291px;
	height:251px;
	float: left;
	margin-right:4%;
	margin-bottom: 40px;
	position: relative;
	perspective:230px;	
}
.try ul li:last-child{
	margin-right: 0;
}
.try ul li img{
	position: absolute;
	left:0;
	top:0;
	backface-visibility:hidden;
	transition:all 0.5s ease-in 0s;
}
.try ul li img.fan{
 	transform:rotateX(-180deg);
 }
.try ul li:hover img.fan{
 	transform:rotateX(0deg);
 }
 .try ul li:hover img.zheng{
 	transform:rotateX(180deg);
 } 
/*  try */
/* make */
.make{
	width:100%;
	height:700px;
	background: #fff;
}
.make header{
	width:508px;
	height: 95px;
	background: #f7f7f7;
	border-radius: 48px;
	margin:220px auto 0;
	box-sizing:border-box;
	padding:7px 0 0 35px;
}
.make p{
	margin-top: 10px;
	text-align: center;
	color: #db0067;
}
.make ul{
	margin:70px auto 0;
	width: 960px;
}
.make ul li{
	width:195px;
	height:195px;
	border:1px solid #ccc;
	border-radius: 50%;
	float:left;
	margin-right:5%;
	margin-bottom:40px;
	position:relative;
}
.make ul li img{
	position: absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}
.make ul li:nth-child(4),.make ul li:nth-child(8){
	margin-right:0;
}
.make ul li .tihuan{
	opacity: 0;
	transition:all 0.4s ease-in 0.2s;	
}
.make ul li:hover .tihuan{
	opacity: 1;
	transform:translate(-50%,-50%) scale(0.75);	
}
.make ul li .tu{
	transition:all 0.4s ease-in 0s;
}
.make ul li:hover .tu{
	opacity: 0;
	transform:translate(-50%,-50%) scale(0.5);
}
/* make */
/* footer */
footer{width:100%;height:400px;background: #545861;border-bottom: 1px solid #fff;}
footer .logo{width:1000px;height:100px;margin:0 auto;background: url(images/logo1.jpg) no-repeat center center;border-bottom: 1px solid #8c9299;}
footer .message{width:1000px;margin:20px auto 0;color:#fffada;}
footer .message .left{width:525px;float: left;padding-left: 30px;box-sizing:border-box;}
footer .message .left li{float: left;margin-right: 30px;}
footer .message .left li input{width:215px;height:32px;border-radius: 5px;margin:10px 0 15px 0;padding-left: 10px;box-sizing:border-box;border:none;}
footer .message .left li:last-child input{width:120px;height:39px;padding-left: 0;border:none;background: url(images/but.jpg) no-repeat;}
footer .message .right{float: left;}
footer .message .right p{margin-bottom: 10px;}
footer .message .right textarea{width:400px;height:172px;padding:10px;box-sizing:border-box;resize:none;}
/* footer */
/* banquan */
.banquan{width:100%;height:60px;background: #333333;text-align: center;}
.banquan a{line-height: 60px;}
/* banquan */

我相信各位书上有源码,所以尽量还是自己动手写一写。

标签:油纸伞,width,margin,height,ul,videobox,制作,left
From: https://blog.csdn.net/m0_71184668/article/details/139866954

相关文章

  • 双绞线(网线)的制作与测试
    实验目的1、熟悉常用双绞线(网线)及其制作工具的使用;2、掌握非屏蔽双绞线的直通线、交叉线的制作及连接方法;3、掌握双绞线连通性的测试。设备要求:RJ45压线钳,RJ45水晶头,UTP线缆(每条2m,若干条),测线仪,PC(2台以上,装有操作系统,有网卡),集线器。双绞线简介双绞线可按其是否外加金属......
  • 全球最大的音乐公司正在帮助音乐家制作自己的人工智能语音克隆
    近年来,人工智能技术在各个领域的应用不断拓展,音乐行业也不例外。全球最大的音乐公司之一,环球音乐集团(UniversalMusicGroup,简称UMG),正在积极探索人工智能技术在音乐创作和制作中的应用。最近,UMG宣布了一项创新计划,旨在帮助音乐家制作自己的人工智能语音克隆。这一举措引发了广泛的......
  • 制作耳机壳的UV树脂和塑料材质相比优势有哪些?
    制作耳机壳的UV树脂和塑料材质相比优势有哪些?制作耳机壳的UV树脂相比塑料材质有以下优势:高强度与耐磨性:UV树脂具有高强度和耐磨性,能够更好地保护耳机内部零件,延长耳机使用寿命。相比之下,塑料材质可能较易磨损或刮伤。耐高温:UV树脂具有较好的耐高温性能,即使在炎热的环境中也......
  • QT/QMessageBox/QTimerEvent/使用定时器制作一个闹钟
    1.使用定时器制作一个闹钟代码:widget.cpp:#include"widget.h"#include"ui_widget.h"Widget::Widget(QWidget*parent):QWidget(parent),ui(newUi::Widget),speecher(newQTextToSpeech(this))//给语音对象申请空间{ui->setupUi(this);......
  • 分班查询系统怎样制作?
    期末即将来临,新学期也即将开始,今天给各位老师带来一个超级实用的小技巧。每年开学季,老师们都要面对一个既重要又繁琐的任务——分班。但你知道吗?现在有了易查分这个神奇的小程序,家长们可以自己轻松查询孩子的分班情况。接下来,就让我来教给各位如何利用易查分快速搭建一个分班......
  • 学生个人html静态网页制作 基于HTML+CSS+JavaScript+jquery仿苏宁易购官网商城模板
    ......
  • 山东菏泽家乡网页代码 html静态网页设计制作 dw静态网页成品模板素材网页 web前端网页
    ......
  • VBA学习(12):制作动态模糊匹配的下拉菜单
    今天就再给大家分享一下,如何使用VBA制作更好用的动态模糊匹配下拉菜单。完成后的效果演示如下:如上图所示,点击A列单元格,Excel会自动跳出一个文本输入框和一个列表框。当在文本框中输入数据时,列表框的数据会随之动态更新。1丨制作步骤选中目标工作表,在【开发工具】→【插......
  • 使用docker离线制作es镜像,方便内网环境部署
    1、自己在本地安装docker以及docker-compose2、拉取elasticsearch镜像dockerpullelasticsearch:7.14.0dockerpullkibana:7.14.03、将拉取到的镜像打包到本地目录dockersaveelasticsearch:7.14.0-o/Users/yanjun.hou/es/elasticsearch-7.14.0.tardockersav......
  • 虾仁蒸蛋的制作方法
     1、两个鸡蛋打散2、和温水适量盐一起搅拌均匀。水量和蛋液的比例为1比1,或者1.5比1 3、过滤蛋液!这步非常重要!蒸出来的水蛋细不细腻都取决于这一步哦!4、用保鲜膜把碗包好,用牙签扎几个孔。5、用保鲜膜把碗包好,用牙签扎几个孔。6、蒸锅里的水提前烧开,水开后再放碗进去......