当前位置:网站首页>Simple pages
Simple pages
2022-06-30 00:40:00 【Like the evening wind】
Simple framing for homework ... Not very technical ( With vscode)
Made a simple page for a rainy day .
Code :
index.html
<!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> home page </title>
<link rel="stylesheet" href="../css/index.css">
</head>
<body>
<!-- Head area -->
<div class="header w">
<div class="logo">
Ah , it's time for bed !
</div>
<!-- Navigation -->
<div class="nav">
<ul>
<li><a href="#"> home page </a></li>
<li><a href="#"> Commodity management </a></li>
<li><a href="#"> Know us </a></li>
</ul>
</div>
<div class="search">
<input type="text">
<button> Search for </button>
</div>
<div class="user">
qq-wwr
</div>
</div>
<!-- banner Area -->
<div class="banner">
<div class="w">
<div class="subnav">
<ul>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
<li><a href="#"> The front-end development <span>></span></a></li>
</ul>
</div>
</div>
</div>
<!-- Course area -->
<div class="box w">
<div class="box-hd">
<h3> Excellent recommendation </h3>
<a href="#"> Check all </a>
</div>
<div class="box-bd">
<ul class="clearfix">
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
<li><img src="./../../imgs/wangwenrui_g.webp"></li>
</ul>
</div>
</div>
<div class="footer">
<div class="w">
<div class="copyright">
<dl>
<dt> Learn to make </dt>
<dd><a href="#"> contact </a></dd>
<dd><a href="#"> contact </a></dd>
<dd><a href="#"> contact </a></dd>
<dd><a href="#"> contact </a></dd>
<dd><a href="#"> contact </a></dd>
</dl>
</div>
<div class="left">
<div class="logo">
Ah , it's time for bed !
</div>
<p> Spring flowers compete for fragrance , Five color lingsu , The Qin is still playing , And the new voice replaces the old !
There are Mandarin in Jinshui , Han Palace has wood , That thing is new , I'm a man of the world , To commit fornication without understanding !
Zhu Xianduan , Lack of bright mirror , Chaolu Xi , Let's have a rest , White headed chant , Farewell to the wounded , Try not to miss my concubine ,
Brocade water soup , With the king long Jue !</p>
<a class="app" href="#"> download APP</a>
</div>
</div>
</div>
</body>
</html>
css style :
*{
margin: 0;
padding:0;
}
/* Write the version first */
.w{
width:1200px;
margin:auto;
}
.clearfix:before,.clearfix:after{
content:"";
display:table;
}
.clearfix:after{
clear: both;
}
.clearfix{
*zoom:1;
}
li{
list-style: none;
}
a{
text-decoration: none;
}
.header{
height:42px;
background-color: pink;
margin: 30px auto;
}
.logo{
float: left;
width: 198px;
height:42px;
background-color: transparent;
font-size: 30px;
font-family: " Song style ";
font-style: italic;
font-weight: 10px;
color: rgb(236, 236, 243);
}
.nav{
float: left;
margin-left: 60px;
}
.nav ul li{
float: left;
margin:0 15px;
}
.nav ul li a{
display: block;
height: 42px;
padding: 0 10px;
font-size: 18px;
color: #050505;
}
.nav ul li a:hover{
border-bottom: 2px solid #00a4ff;
color:#00a4ff;
}
.search{
float: left;
width:412px;
height: 42px;
margin-left: 50px;
}
.search input{
float: left;
width:345px;
height: 40px;
border: 1px solid #00a4ff;
border-right: none;
background-color: rgb(156, 228, 153);
}
.search button{
float: left;
width:50px;
height:42px;
border:none;
background-color: #00a4ff;
}
.user{
float: right;
line-height: 42px;
margin-right: 30px;
font-size: 14px;
color: #666;
}
.banner{
height: 421px;
background-color:#191f3b;
}
.banner .w{
height: 421px;
background-color: #00a4ff;
background-image: url(../imgs/monter.png);
}
.subnav{
width:190px;
height:420px;
background-color:rgba(29, 35, 63,0.3);
}
.subnav ul li {
height: 45px;
line-height: 45px;
padding :0 20px;
}
.subnav ul li a{
font-size: 14px;
color:aliceblue;
}
.subnav ul li a span{
float: right;
}
.subnav ul li a:hover{
color:#00a4ff;
}
.box{
margin-top: 30px;
}
.box-hd{
height: 45px;
}
.box-hd h3{
float: left;
font-size: 20px;
color: #050505;
}
.box-hd a{
float: right;
font-size:12px ;
color: #666;
}
.box-bd ul li{
float: left;
width: 228px;
height: 270px;
background-color: #00a4ff;
margin-left: 15px;
margin-bottom: 15px;
}
.box-bd ul img{
float: left;
width: 228px;
height: 270px;
margin-left: 15px;
margin-bottom: 15px;
}
.box-bd ul{
width: 1225px;
}
/* .box-bd{ overflow:hidden; } */
.footer{
height: 415px;
background-color:black;
}
.footer .w{
padding-top: 30px;
}
.footer .copyright{
float: right;
}
.footer .left{
float: left;
}
.footer .left dl dt{
font-size: 16px;
color: #00a4ff;
margin-bottom: 5px;
}
.footer .left dl dt a{
color:aliceblue;
font-size:12px;
}
.copyright .p{
margin: 20px 0 50px 0;
font-size: 12px;
color:#666;
}
.copyright .app{
display: block;
width: 118px;
height: 33px;
border: 1px solid #00a4ff;
font-size: 16px;
color:#00a4ff
}
边栏推荐
- GET 和 POST请求的本质区别是什么?
- 手写C语言之函数的嵌套调用和链式访问
- What is the essential difference between get and post requests?
- 简要的说一下:Fragment 间的通信方式?
- 微信支付 APP端 第三弹 申请退款
- Briefly: how are fragments communicated?
- 出门在外保护好自己
- Outsourcing for 3 years is a waste
- 云呐|固定资产系统管理的优势,固定资产管理系统有何特点
- Le module twincat 3 el7211 contrôle les servocommandes baffle
猜你喜欢

Interviewer: why does database connection consume resources? I can't even answer.. I was stunned!

固定资产管理系统多少钱,固定资产管理系统价格

IDEA工具快捷键的使用

Mr. Hu Bo, CIO of weiduomei, a scientific innovator: digitalization is a bloodless revolution, and the correct answer lies in the field of business

TwinCAT 3 el7211 module controls Beifu servo

Sofaregistry source code | data synchronization module analysis

01 backpack problem

Mysql Duplicate entry ‘xxx‘ for key ‘xxx‘

Le module twincat 3 el7211 contrôle les servocommandes baffle

Automatic integration: yescomusa, an overseas cross-border e-commerce, cooperates with cloud expansion to realize one-stop Automation Service
随机推荐
About SQL: create a view_ XB view, whose function is ① to delete views with duplicate names before creating them ② to display the number of male and female students in this class in the XSB table, and
Time flies that year
SOFARegistry 源码|数据同步模块解析
A Yu's Rainbow Bridge
Database learning notes (sql03)
Sofaregistry source code | data synchronization module analysis
Sword finger offer II 037 Asteroid collision
YuMinHong: my retreat and advance; The five best software architecture patterns that architects must understand; Redis kills 52 consecutive questions | manong weekly VIP member exclusive email weekly
Time does not spare
【PHP】php压测,报错:通常每个套接字地址(协议/网络地址/端口)只允许使用
元素使用 align-items center 和 overflow auto 之后,部分内容显示不全
The SQL statement concat cannot find the result
SOFARegistry 源码|数据同步模块解析
Outsourcing for 3 years is a waste
GET 和 POST请求的本质区别是什么?
[uitableview] Pit 1: tableview:heightforheaderinsection: method does not execute
简单的页面
Which securities company is better and which platform is safer for stock speculation account opening
数据库学习笔记(SQL03)
MySQL高级篇2