当前位置:网站首页>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
}
边栏推荐
- [programming problem] maze problem
- MySQL foundation 2
- leetcode-1. 两数之和
- Go out and protect yourself
- 单位固定资产怎么管理,行政单位的固定资产应该怎么管理
- 中小企业签署ERP合同时,需要注意这几点
- Sofaregistry source code | data synchronization module analysis
- About the case of SQL statements
- Connection query of SQL Server database
- [qnx hypervisor 2.2 user manual]6.2.2 communication between guest and host
猜你喜欢

【云原生】容器场景下的内核安全

学位论文的引用

【每日一题】二叉树的前后序遍历

TwinCAT 3 EL7211模塊控制倍福伺服

MySQL advanced 2

如何在IDEA中创建Module、以及怎样在IDEA中删除Module?

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

如何在IDEA中自定义模板、快速生成完整的代码?

Relevance - canonical correlation analysis

Initial i/o and its basic operations
随机推荐
Top performance version 2 reading notes (IV) -- memory monitoring
初始I/O及其基本操作
Modbus TCP RTU protocol chart
Floating point communication
swift笔记
Small and medium-sized enterprises should pay attention to these points when signing ERP contracts
关联性——典型相关分析
[daily question 1] traversal of binary tree
MySQL高级篇2
Sofaregistry source code | data synchronization module analysis
leetcode-1. Sum of two numbers
[lorawan node application] the application and power consumption of Anxin ra-08/ra-08h module in lorawan network
开发者,为什么说容器技术的成熟预示着云原生时代的到来?
【mysql篇-基础篇】通用语法2
@ConfigurationProperties使用不当引发的bug
干外包3年,真废了...
HDCP Paring
leetcode-1. 两数之和
【服装软件】服装出产办理体系选型的准则有哪些?
Yunna | advantages of fixed assets system management, what are the characteristics of fixed assets management system