前端第三天作业

DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>title>
		<style>
			.container{
				width: 660px;
				height: 475px;
			}
			.title{
				height: 60px;
				line-height: 60px;
				width: 660px;
				border-bottom:1px solid #F2F2F2;
				font-size: 20px;
				padding-left: 18px;
			}
			.container2{
				width: 570px;
				height: 260px;
				margin-left: 60px;
				margin-top: 45px;
			}
			.container2>div{
				float: left;
			}
			.login{
				width: 359px;
				height: 260px;
				border-right: 1px solid #F2F2F2;
				padding-right: 28px;
			}
			.scan{
				width: 150px;
				height: 260px;
				padding-left: 30px;
			}
			.mathod{
				width: 360px;
				height: 45px;
				margin-left: 60px;
			}
			.tail{
				width: 660px;
				height: 60px;
				text-align: center;
				line-height: 60px;
				font-size: 15px;
				color: #606266;
			}
			.dl{
				font-size: 16px;
				margin-bottom: 22px;
				height: 16px;
			}
			.username{
				background-color: #F3F3F3;
				height: 50px;
				width: 360px;
				margin-bottom: 15px;
			}
			.username>div{
				float: left;
			}
			.password{
				background-color: #F3F3F3;
				height: 50px;
				width: 360px;
				margin-bottom: 15px;
			}
			.password>div{
				float: left;
			}
			.DQBM{
				height: 50px;
				width: 70px;
			}
			#DQBM{
				border: none;
				width: 70px;
				height: 50px;
				background-color: #F3F3F3;
				font-size: 16px;
			}
			.name-input{
				height: 48px;
				width: 285px;
			}
			#name-input{
				height: 48px;
				width: 285px;
				border: none;
				background-color: #F3F3F3;
				font-size: 16px;
			}
			.pwd-input{
				height: 48px;
				width: 290px;
			}
			#pwd-input{
				border: none;
				background-color: #F3F3F3;
				font-size: 16px;
				height: 48px;
				width: 285px;
			}
			.forget{
				height: 50px;
				line-height: 50px;
				width: 70px;
				text-align: center;
			}
			.forget>a{
				font-size: 14px;
				text-decoration: none;
				color: #757575;
			}
			.remember{
				width: 100px;
				font-size: 12px;
				line-height: 20px;
				margin-top: 36px;
			}
			.remember>input{
				height: 12px;
				width: 12px;
			}
			.presslogin{
				width: 360px;
				height: 50px;
			}
			.presslogin>form>input{
				border: none;
				background-color: #FE3355;
				text-align: center;
				width: 360px;
				height: 50px;
				color: white;
				font-size: 16px;
			}
			.dl{
				font-size: 16px;
				height: 16px;
			}
			.QR{
				margin-top: 20px;
				width: 150px;
				height: 150px;
				background-color: #F3F3F3;
			}
			.QR>img{
				width: 136px;
				height: 136px;
				margin-left: 7px;
				margin-top: 7px;
			}
			.text{
				width: 150px;
				height: 50px;
				margin-top: 16px;
			}
			.text>div{
				font-size: 14px;
				color: #606266;
			}
			.text>div>a{
				text-decoration: none;
				color: #FE3355;
			}
			.another{
				float: left;
				width: 180px;
				height: 45px;
				font-size: 14px;
				line-height: 45px;
				color: #606266;
			}
			.another>a>img{
				width: 20px;
				height: 20px;
			}
			.phone{
				float: right;
				width: 100px;
				font-size: 14px;
				height: 45px;
				line-height: 45px;
			}
			.phone>a{
				text-decoration: none;
				color: #606266;
			}
			style>
	head>
	<body>
		<div class="container">
			<div class="title">登录div>
			<div class="container2">
				<div class="login">
					<div class="dl">密码登录div>
					<div class="username">
						<div class="DQBM">
							<select name="DQBM" id="DQBM">
								<option value="+86">+86option>
								<option value="+852">+355option>
								<option value="+853">+213option>
								<option value="+886">+852option>
							select>
						div>
						<div class="name-input">
							<input type="text" name="username" placeholder="请输入用户名" id="name-input">
						div>
					div>
					<div class="password">
						<div class="pwd-input">
							<input type="password" name="password" placeholder="请输入密码" id="pwd-input">
						div>
						<div class="forget">
							<a href="#">忘记密码a>
						div>
					div>
					<div class="remember">
						<input type="checkbox" name="remember?">记住密码
					div>
					<div class="presslogin">
						<form method="get">
							<input type="submit" value="登录">
						form>
					div>
				div>
				<div class="scan">
					<div class="scan-code">扫码登陆div>
					<div class="QR">
						<img src="pic/二维码.png">
					div>
					<div class="text">
						<div>打开<a href="#">西瓜视频手机appa>div>
						<div>我的-扫一扫登录div>
					div>
				div>
			div>
			<div class="mathod">
				<div class="another">
					其他方式:
					<a href="#"><img src="pic/抖音.png">a>
					<a href="#"><img src="pic/QQ.png">a>
					<a href="#"><img src="pic/微信.png">a>
				div>
				<div class="phone">
					<a href="#">手机验证码登录a>
				div>
			div>
			<div class="tail">
				<input type="checkbox" name="ok">登录即代表你同意<a href="#">用户协议a><a href="#">隐私政策a>
			div>
		div>
	body>
html>

前端第三天作业_第1张图片

DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>title>
		<style>
			.goods{
				width: 220px;
				height: 360px;
				border: 1px solid #f40;
			}
			.nav>img{
				width: 220px;
			}
			.price{
				margin-left: 5px;
				margin-right: 5px;
			}
			.price > span{
				line-height: 20px;
				vertical-align: middle;
			}
			.price > span:first-child{
				color: #f40;
				font-size: 20px;
				font-weight: bold;
			}
			.price > span:nth-child(2){
				font-size: 14px;
				background-color: #f40;
				color: white;
				padding-left: 1px;
				padding-right: 1px;
			}
			.price > span:last-child{
				float: right;
				font-size: 14px;
				color: #888;
			}
			#des{
				margin-left: 15px;
				margin-right: 5px;
			}
			#des > a{
				color: #444;
				font-size: 14px;
				text-decoration: none;
			}
			#des>a:hover{
				text-decoration: underline;
				color: #f40;
			}
			.place{
				margin-left: 5px;
				margin-right: 5px;
			}
			.place > span{
				line-height: 20px;
				vertical-align: middle;
			}
			.place > span:last-child{
				float: right;
				font-size: 14px;
				color: #888;
			}
			.nav{
				width: 220px;
				height: 220px;
				position: relative;
			}
			.nav>img{
				width: 220px;
				height: 220px;
			}
			.choose{
				position: absolute;
				bottom: 0px;
				display: none;
			}
			.choose>div{
				width: 110px;
				background-color: #f40;
				color: white;
				text-align: center;
				float: left;
			}
			.choose>div:first-child{
				width: 109px;
				border-right: 1px solid white;
			}
			img:hover + .choose{
				display: block;
			}
			.choose a{
				color: white;
				text-decoration: none;
			}
			.xtp{
			 margin-top: 13px;
			 margin-left: 5px;
			 margin-right: 5px;
			}
			.xtp>a:first-child{
			 width: 18px;
			 height: 18px;
			}
			.xtp>a:nth-child(2){
			 width: 18px;
			 height: 18px;
			}
			.xtp>a:last-child{
			 float: right;
			 width: 18px;
			 height: 18px;
			}
			.mini>img{
			 width: 18px;
			 width: 18px;
			}
		style>
	head>
	<body>
		<div class="container">
			<div class="goods">
				<div class="nav">
					<img src="pic/金刚狼3.png" alt="">
					<div class="choose"> 
						<div><a href="#">找同款a>div>
						<div><a href="#">找相似a>div>
					div>
				div>
				<div class="price">
					<span>¥45.8span>
					<span>包邮span>
					<span>90+付款span>
				div>
				<div id="des">
					<a href="#">金刚狼3影票,便宜出货,速速快购a>
				div>
				<div class="place" id="des">
					<a href="#">猫眼旗舰店a>
					<span>广州span>
				div>
				<p>p>
				<div class="xtp">
					<a class="mini" href="#"><img src="pic/天猫.png" alt="">a>
					<a class="mini" href="#"><img src="pic/运费险.png" alt="">a>
					<a class="mini" href="#"><img src="pic/小精灵.png" alt="">a>
				div>
			div>
		div>
	body>
html>

前端第三天作业_第2张图片

DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>title>
		<style>
			.container{
				margin-left: 340px;
				width: 1230px;
				height: 350px;
				background-color: #F5F5F5;
			}
			.top{
				width: 1230px;
				height: 190px;
				background-color: white;
			}
			.icon{
				width: 237px;
				height: 170px;
				background-color: #5F5750;
				float: left;
			}
			.iocn-ul{
				display: block;
				margin: 0px;
				margin-top: 1px;
				padding: 0 3px;
				list-style-type: none;
				font-size: 12px;
				text-align: center;
				background: #5F5750;
			}
			.iocn-ul>li{
				position: relative;
				float: left;
				width: 70px;
				height: 82px;
				padding: 0 3px;
			}
			.iocn-ul>li:before{
				top: -1px;
				left: 6px;
				width: 64px;
				height: 1px;
			}
			.iocn-ul>li:after{
				top: 6px;
				left: 0;
				width: 1px;
				height: 70px;
			}
			.iocn-ul>li:after, .six_ul>li:before{
				position: absolute;
				content: "";
				background: #665e57;
			}
			.icon-a{
				display: block;
				padding-top: 18px;
				text-overflow: ellipsis;
				color: #fff;
				opacity: 0.7;
				transition: 0.2s;
				text-decoration: none;
			}
			.icon-a:hover{
				opacity: 1;
			}
			.icon-a>img{
				display: block;
				width: 24px;
				height: 24px;
				margin: 0 auto 4px;
			}
			.img{
				float: left;
				margin-left: 14px;
			}
			.img:hover{
				box-shadow: 6px 6px 10px rgba(0,0,0,0.3);
				transition: 0.4s;
			}
			.img>a{
				text-decoration: none;
				display: block;
				height: 170px;
			}
			.img>a>img{
				width: 316px;
				height: 170px;
			}
			.tail{
				margin-top: 20px;
			}
		style>
	head>
	<body>
		<div class="container">
			<div class="top">
				<div class="icon">
					<div class="iocn-ul">
						<li>
							<a href="#" class="icon-a"><img src="pic/clock.png" alt="保障服务">保障服务a>
						li>
					div>
					<div class="iocn-ul">
						<li>
							<a href="#" class="icon-a"><img src="pic/楼.png" alt="企业团购">企业团购a>
						li>
					div>
					<div class="iocn-ul">
						<li>
							<a href="#" class="icon-a"><img src="pic/F.png" alt="F码通道">F码通道a>
						li>
					div>
					<div class="iocn-ul">
						<li>
							<a href="#" class="icon-a"><img src="pic/卡.png" alt="米粉卡">米粉卡a>
						li>
					div>
					<div class="iocn-ul">
						<li>
							<a href="#" class="icon-a"><img src="pic/圆钱.png" alt="以旧换新">以旧换新a>
						li>
					div>
					<div class="iocn-ul">
						<li>
							<a href="#" class="icon-a"><img src="pic/方钱.png" alt="话费充值">话费充值a>
						li>
					div>
				div>
				<div class="img">
					<a href="#"><img src="pic/1.jpg">a>
				div>
				<div class="img">
					<a href="#"><img src="pic/2.jpg">a>
				div>
				<div class="img">
					<a href="#"><img src="pic/3.jpg">a>
				div>
			div>
			<div class="tail">
				<a href="#"><img src="pic/4.webp">a>
			div>
		div>
	body>
html>

前端第三天作业_第3张图片

你可能感兴趣的:(HTML,前端,css)