当前位置:网站首页>Web page design example assignment -- Introduction to Henan cuisine (4 pages) web final assignment design web page_ Dessert and gourmet college students' web design homework finished product
Web page design example assignment -- Introduction to Henan cuisine (4 pages) web final assignment design web page_ Dessert and gourmet college students' web design homework finished product
2022-06-11 16:22:00 【Web front end quality Creator - Web Design】
HTML5 Final homework : Food introduction website design —— Introduction to Henan cuisine (4 page )
List of articles
One 、 Works display




Two 、 File directory

3、 ... and 、 Code implementation
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<style>
*{
margin:0;
padding:0;
}
ul{
list-style:none;
text-align: center;
}
a{
display:block;
text-align: center;
text-decoration: none;
}
.header{
position:fixed;
top:0;
width:100%;
height:70px;
line-height:70px;
z-index:999;
text-align: center;
color:#cacaca;
padding:0 40px;
background: #545454;
min-width:1280px;
}
.header .logo{
float: left;
display:block;
width:150px;
margin-left:100px;
font-size:20px;
}
.header .logo img{
width:100%;
height:70px;
vertical-align: middle;
}
.header .logo .logo-hover{
display:none;
position:absolute;
width:250px;
height:50px;
}
.header .navs{
float: left;
margin-left:50px;
display:block;
width:500px;
}
.header .navs .navs-btn{
float: left;
display:block;
width:20%;
}
.header .navs .navs-btn a{
display:block;
width:100%;
line-height: 70px;
font-size:25px;
color:#cacaca;
}
.header .search{
float: left;
width:220px;
height:70px;
}
.header .search input{
width:80%;
height:40px;
}
.header .info{
width:200px;
height:70px;
margin-left:75%;
}
.header .info .mask{
width: 100%;
height: 100%;
background-color: #555;
opacity: 0.5;
position: fixed;
top: 0;
left: 0;
display: none;
}
.header .info .login{
width: 400px;
height: 300px;
background-color: #fff;
position: fixed;
top: 50%;
left: 50%;
margin-top: -150px;
margin-left: -200px;
display: none;
font-size: 20px;
}
.header .info .login span{
float: right;
width:25px;
height: 25px;
line-height: 20px;
top: 0;
right: 0;
color: #bbb;
}
.header .info .login .lon1 p{
color: red;
font-size: 25px;
text-align: center;
line-height: 25px;
margin:15px auto;
}
.header .info .login .line hr{
margin-top: 20px;
}
.header .info .login .div1{
margin:10px auto 10px;
}
.header .info .login input{
height:35px;
width: 350px;
}
.header .info .login .shut{
position: absolute;
right: 0px;
top: 2px;
width: 25px;
height: 25px;
cursor: pointer;
color: black;
}
.header .info .login .yes{
position: absolute;
width:300px;
height: 45px;
left: 50px;
bottom: 50px;
color: white;
background:red;
}
.header .info .login .no{
position: absolute;
right: 15px;
bottom: 10px;
}
.header .info a{
margin:15px auto;
display:block;
color: #cacaca;
width:150px;
height:40px;
line-height:40px;
background: white;
font-size:16px;
border-radius:4px;
border:1px solid #0057ff;
}
.float-right{
position:fixed;
right:0;
width:80px;
height:100%;
margin:100px 0;
}
.float-right ul{
margin-top:100px;
height:400px;
min-height: 400px;
}
.float-right ul li{
width:80px;
height:80px;
line-height:80px;
}
.float-right ul li img{
border-radius:15px;
}
.float-right ul li div{
position:relative;
width:200px;
height:160px;
left:-200px;
top:-120px;
display:none;
z-index:999;
}
.imgs{
margin-top:80px;
width:100%;
height:180px;
background: url('imgs/zx.jpg');
}
.content{
width:1200px;
margin:0 auto;
text-align: center;
}
.content .nav{
width:100%;
height:50px;
line-height:50px;
font-size:14px;
text-align: left;
margin:0;
}
.content .nav a{
display:inline-block;
}
.content .news{
height:500px;
}
.content .news img{
border-radius:15px;
}
.content .news .left{
float: left;
width:950px;
display:block;
background: #ffe
}
.content .news .left .type{
width: 950px;
height: 50px;
line-height: 50px;
}
.content .news .left .type a{
float: left;
width: 150px;
height: 50px;
display: block;
color: black;
}
.content .news .left .list{
display: none;
width: 950px;
}
.content .news .left .hideen{
display:block;
}
.content .news .left .list li{
<li><a href="#"> Initiate partnership </a></li>
</ul>
<ul class="aa">
<li> Share your travels </li>
<li><a href="#"> Publish travel notes </a></li>
<li><a href="#"> Comment on the scenic spots you have been to </a></li>
</ul>
<ul class="aa">
<li> About us </li>
<li><a href="#"> Community profile </a></li>
<li><a href="#"> Contact us </a></li>
<li><a href="#"> Join us </a></li>
<li><a href="#"> Smart Tourism </a></li>
</ul>
<ul class="aa1">
<li> Focus on the strategy community </li>
<li><img src="img/img_footer_crcode.png" alt="" /></li>
</ul>
</div>
</div>
</body>
</html>
`
<hr style=" border:solid; width:100px; height:1px;" color=#000000 size=1">
# Four 、 Get more source code
~ Pay attention to me , Like the blog ~ Every day brings you knowledge !
Relevant issues can be learned from each other , Can pay attention to ↓ Male Z Number Get more source code
边栏推荐
- Laravel 8 uses passport for auth authentication and token issuance
- 无心剑英汉双语诗001. 《春游》
- [从零开始学习FPGA编程-17]:快速入门篇 - 操作步骤2-5- VerilogHDL硬件描述语言符号系统与程序框架(软件程序员和硬件工程师都能看懂)
- Db4ai: database driven AI
- Streaking? Baa!
- 完整的测试流程【杭州多测师】【杭州多测师_王sir】
- 如何优化 Compose 的性能?通过「底层原理」寻找答案 | 开发者说·DTalk
- 收藏 | 可解释机器学习发展和常见方法!
- MSDN download win11 method, simple and easy to operate
- Understand the dense support functions / stored procedures of opengauss
猜你喜欢
![Interview classic question: how to do the performance test? [Hangzhou multi surveyors] [Hangzhou multi surveyors \wang Sir]](/img/ea/2c5b48b08a9654b61694b93a2e7d0a.png)
Interview classic question: how to do the performance test? [Hangzhou multi surveyors] [Hangzhou multi surveyors \wang Sir]

List和Dict数据类型作用详解

Streaking? Baa!
![[sword finger offer] 22 The penultimate node in the linked list](/img/66/630ae9762f9d87817a14cb1c96015b.png)
[sword finger offer] 22 The penultimate node in the linked list

web网页设计实例作业 ——河南美食介绍(4页) web期末作业设计网页_甜品美食大学生网页设计作业成品

电脑下面的任务栏怎么显示打开的程序

Talk about data center network again

Nat Commun|语言模型可以学习复杂的分子分布

How can the project manager repel the fear of being dominated by work reports?

Yiwenjiaohui your database system tuning
随机推荐
How does the taskbar under the computer display open programs
干掉 Swagger UI,这款神器更好用、更高效!
List和Set存取元素的差异
What if the win10 security center cannot be closed
最近7天,最近10天,最近90天时间处理逻辑
为什么芯片设计也需要「匠人精神」?
MySQL快速入门实例篇(入内不亏)
Streaking? Baa!
什么是rs邮票纸?
Database resource load management (Part 1)
无心剑英汉双语诗001. 《春游》
PostgreSQL create table
PostgreSQL create database
C starts an external EXE file and passes in parameters
List和Dict数据类型作用详解
laravel 2020-01-01T00:00:00.000000Z 日期转化
Step 4 of installation in RF: an error is reported when installing the robotframework-selenium 2library
CLP information - No. 1 central document on Strengthening Rural Revitalization financial services
C# 启动一个外部exe文件,并传入参数
Search and graph theory: Dijkstra finding the shortest path i-dijkstra (shortest path)