🎉精彩专栏推荐 💭文末获取联系
✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
💂 作者主页: 【主页——🚀获取更多优质源码】
🎓 web前端期末大作业: 【📚毕设项目精品实战案例 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
🌎超炫酷的Echarts大屏可视化源码:【🔰 Echarts大屏展示大数据平台可视化(150套) 】
🔖 HTML+CSS+JS实例代码: 【🗂️HTML+CSS+JS实例代码 (炫酷特效网页代码) 继续更新中…】
🎁 免费且实用的WEB前端学习指南: 【📂web前端零基础到高级学习视频教程 120G干货分享】
🥇 关于作者: 💬历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 💪坚持原创,热衷分享,初心未改,继往开来!
👒 公司官网网站 、企业官网、酒店官网、等网站的设计与制作。
🏷️ 网页中包含:Div+CSS、鼠标滑过特效、Table、导航栏效果、banner、表单、二级三级页面等,视频音频元素,同时设计了logo(源文件),基本期末作业所需的知识点全覆盖。
🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。
📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。
📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;
📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++
等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;
(3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。
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" href="css/style.css">
head>
<body>
<div class="main">
<div class="header">
<div class="header_box">
<div class="left">
<img src="picture/logo.png" alt="">
div>
<div class="right">
<div class="top">
<span>客服电话:0000-000-000span>
<span>China(中文) | English(英文)span>
div>
<div class="middle">
<input type="text">
div>
<div class="bot">
<a href="" class="on">首页a>
<a href="">企业简介a>
<a href="">下属企业a>
<a href="">新闻中心a>
<a href="">主营业务a>
<a href="">企业文化a>
<a href="">企业招聘a>
<a href="">联系我们a>
div>
div>
div>
div>
<div class="banner">
<img src="picture/banner.jpg" alt="">
div>
<div class="news">
<div class="new_box">
<div class="title">
<p>新闻中心p>
<p>媒体举报p>
<p>联系我们p>
div>
<div class="new_list">
<div class="news_item">
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
<p>
<span class="tit">从中国企业企业文化的现实出发...span>
<span class="time">[0000-00-00]span>
p>
div>
<div class="news_item">
<div class="new_middle">
<div class="tips">
111
div>
<div class="news_img">
<img src="picture/goods1.jpg" alt="">
div>
<div class="msg">
<p class="tit">
媒体报道
p>
<p class="con">报道新闻的内容内容内容内容
内容...[详情]p>
div>
div>
<div class="new_middle">
<div class="tips">
111
div>
<div class="news_img">
<img src="picture/goods1.jpg" alt="">
div>
<div class="msg">
<p class="tit">
媒体报道
p>
<p class="con">报道新闻的内容内容内容内容
内容...[详情]p>
div>
div>
<div class="new_middle">
<div class="tips">
111
div>
<div class="news_img">
<img src="picture/goods1.jpg" alt="">
div>
<div class="msg">
<p class="tit">
媒体报道
p>
<p class="con">报道新闻的内容内容内容内容
内容...[详情]p>
div>
div>
div>
<div class="news_item">
<div class="top_img">
<img src="picture/good2.jpg" alt="">
div>
<p>服务热线:0000-000-000p>
<p>企业电话:000-00000000p>
<p>企业地址:xxxxxxxxxxxxxxxx
xxxxxxp>
div>
div>
div>
div>
<div class="yw">
<div class="yw_box">
<div class="title">
主营业务
div>
<div class="list">
<div class="item">
<div class="top_img">
<img src="picture/goods3.jpg" alt="">
div>
<div class="txt">
<span>业务名称span>
<img src="picture/arrows.jpg" alt="">
div>
div>
<div class="item">
<div class="top_img">
<img src="picture/goods3.jpg" alt="">
div>
<div class="txt">
<span>业务名称span>
<img src="picture/arrows.jpg" alt="">
div>
div>
<div class="item">
<div class="top_img">
<img src="picture/goods3.jpg" alt="">
div>
<div class="txt">
<span>业务名称span>
<img src="picture/arrows.jpg" alt="">
div>
div>
<div class="item">
<div class="top_img">
<img src="picture/goods3.jpg" alt="">
div>
<div class="txt">
<span>业务名称span>
<img src="picture/arrows.jpg" alt="">
div>
div>
div>
<div class="hf">
<div class="hf_item">
<div class="img">
<img src="picture/icon11.jpg" alt="">
div>
<div class="txt">
<p class="txt1">发展历程p>
<p class="txt2">蓬勃发展,兴旺昌盛p>
div>
div>
<div class="hf_item">
<div class="img">
<img src="picture/icon22.jpg" alt="">
div>
<div class="txt">
<p class="txt1">资质荣誉p>
<p class="txt2">重视合作,确保质量,严守承诺p>
div>
div>
<div class="hf_item">
<div class="img">
<img src="picture/icon33.jpg" alt="">
div>
<div class="txt">
<p class="txt1">媒体报道p>
<p class="txt2">振兴民族产业,走在国际前沿p>
div>
div>
<div class="hf_item">
<div class="img">
<img src="picture/icon44.jpg" alt="">
div>
<div class="txt">
<p class="txt1">诚聘精英p>
<p class="txt2">有品质有市场,有改善有进步p>
div>
div>
div>
div>
div>
<div class="share">
<div class="share_box">
<div class="left">
分享:
<img src="picture/icon1.jpg" alt="">
<img src="picture/icon2.jpg" alt="">
<img src="picture/icon3.jpg" alt="">
<img src="picture/icon4.jpg" alt="">
<img src="picture/icon5.jpg" alt="">
<img src="picture/icon6.jpg" alt="">
div>
<div class="right">
<input type="text">
<span>span>
div>
div>
div>
<div class="footer">
<div class="footer_box">
<div class="item">
<p>企业简介p>
<p>企业简介p>
<p>企业简介p>
<p>企业简介p>
<p>企业简介p>
<p>企业简介p>
div>
<div class="item">
<p>下属企业p>
<p>下属企业p>
<p>下属企业p>
<p>下属企业p>
<p>下属企业p>
<p>下属企业p>
div>
<div class="item">
<p>新闻中心p>
<p>新闻中心p>
<p>新闻中心p>
<p>新闻中心p>
<p>新闻中心p>
<p>新闻中心p>
div>
<div class="item">
<p>主营业务p>
<p>主营业务p>
<p>主营业务p>
<p>主营业务p>
<p>主营业务p>
<p>主营业务p>
div>
<div class="item">
<p>企业文化p>
<p>企业文化p>
<p>企业文化p>
div>
<div class="item">
<p>企业招聘p>
<p>企业招聘p>
<p>企业招聘p>
div>
<div class="item">
<p>联系我们p>
<p>联系我们p>
div>
div>
div>
<div class="footer_bottom">
<div class="footer_bottom_box">
<p>版权所有:xxxx企业名称 备案号:?icp备00000号p>
<p>服务热线:0000-000-000p>
div>
div>
div>
body>
html>
*{
padding: 0;
margin: 0;
}
div{
box-sizing: border-box;
}
img{
width: 100%;
height: 100%;
display: block;
}
a{
text-decoration: none;
}
.main{
width: 100%;
height: 100%;
background-color: #fff;
}
.main .header{
width: 100%;
height: 120px;
}
.main .header .header_box{
display: flex;
justify-content: space-between;
align-items: center;
width: 1320px;
height: 100%;
margin: auto;
}
.main .header .header_box .left{
width: 273px;
height: 41px;
}
.main .header .header_box .right{
position: relative;
height: 100%;
width: 840px;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 10px 0;
}
.main .header .header_box .top{
text-align: right;
color: #808080;
font-size: 16px;
}
.main .header .header_box .middle{
position: relative;
width: 220px;
height: 30px;
border: 1px solid #0058a6;
margin-left: 598px;
}
.main .header .header_box .middle::before{
content: '';
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
display: block;
background: url("../image/search.jpg") no-repeat;
background-size: 100% 100%;
width: 28px;
height: 23px;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
}
.main .header .header_box .middle input{
width: 100%;
height: 100%;
border: none;
background: none;
}
.main .header .header_box .bot{
display: flex;
justify-content: flex-end;
}
.main .header .header_box .bot a{
font-size: 18px;
color: #4c4c4c;
margin-left: 40px;
white-space: nowrap;
padding-bottom: 8px;
transition: all .3s;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
}
.main .header .header_box .bot a:hover{
color: #0058a6;
height: 100%;
font-weight: bold;
border-bottom:2px solid #0058a6;
}
.main .header .header_box .bot a.on{
height: 100%;
border-bottom: 2px solid #0058a6;
}
.main .banner{
width: 100%;
}
.main .banner img{
width: 100%;
height: auto;
}
.main .news{
width: 100%;
}
.main .news .new_box{
width: 1320px;
margin: 45px auto 0;
}
.main .news .new_box .title{
display: flex;
justify-content: space-between;
border-bottom: 1px solid #0058a6;
}
.main .news .new_box .title p{
font-size: 22px;
color: #000;
font-weight: bold;
line-height: 40px;
}
.main .news .new_box .title p:nth-of-type(1),.main .news .new_box .new_list .news_item:nth-of-type(1){
width: 440px;
}
.main .news .new_box .title p:nth-of-type(2),.main .news .new_box .new_list .news_item:nth-of-type(2){
width: 480px;
}
.main .news .new_box .title p:nth-of-type(3),.main .news .new_box .new_list .news_item:nth-of-type(3){
width: 340px;
}
.main .news .new_box .new_list{
display: flex;
justify-content: space-between;
}
.main .news .new_box .new_list .news_item:nth-of-type(1) p:hover .tit{
color: #0058a6;
font-weight: bold;
}
.main .news .new_box .new_list .news_item:nth-of-type(1) p{
display: flex;
justify-content: space-between;
align-items: center;
line-height: 32px;
transition: all .3s;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
}
.main .news .new_box .new_list .news_item:nth-of-type(1) p .tit{
position: relative;
padding-left: 20px;
color: #808080;
font-size: 14px;
}
.main .news .new_box .new_list .news_item:nth-of-type(1) p .tit::before{
content: '';
display: block;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 0;
width: 4px;
height: 4px;
background-color: #0058a6;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
}
.main .news .new_box .new_list .news_item:nth-of-type(1) p .time{
color: #808080;
font-size: 14px;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle{
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 9px;
transition: all .3s;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle:hover .tit{
color: #0058a6;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle:hover img{
transform: scale(1.1);
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle .tips{
width: 130px;
height: 73px;
text-align: center;
line-height: 73px;
background: url("../image/itemBg.gif") no-repeat;
background-size: 100% 100%;
color: #fff;
padding-right: 10px;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle .news_img{
width: 106px;
height: 75px;
margin: 0 16px 0 16px;
overflow: hidden;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle .msg{
height: 75px;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 207px;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle .tit{
color: #4c4c4c;
font-size: 18px;
font-weight: bold;
}
.main .news .new_box .new_list .news_item:nth-of-type(2) .new_middle .con{
color: #4c4c4c;
font-size: 16px;
}
.main .news .new_box .new_list .news_item:nth-of-type(3) {
}
.main .news .new_box .new_list .news_item:nth-of-type(3) .top_img{
width: 100%;
margin-top: 9px;
}
.main .news .new_box .new_list .news_item:nth-of-type(3) P{
color: #808080;
font-size: 18px;
margin-top: 16px;
}
.main .yw{
width: 100%;
margin-top: 50px;
}
.main .yw .yw_box .title{
width: 1320px;
margin: auto;
height: 44px;
line-height: 44px;
color: #000000;
font-size: 22px;
border-bottom: 1px solid #0058a6;
margin-bottom: 20px;
}
.main .yw .yw_box {
width: 1320px;
margin: auto;
}
.main .yw .yw_box .list{
display: flex;
justify-content: space-between;
width: 1320px;
margin: auto;
}
.main .yw .yw_box .item{
width: 310px;
transition: all .3s;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-ms-transition: all .3s;
-o-transition: all .3s;
}
.main .yw .yw_box .item:hover{
box-shadow: 10px 10px 10px #ddd;
}
.main .yw .yw_box .item:hover img{
transform: scale(1.1);
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
}
.main .yw .yw_box .item .top_img{
width: 100%;
overflow: hidden;
}
.main .yw .yw_box .item .txt{
width: 100%;
height: 70px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 10px;
background-color: #f0f0f2;
}
.main .yw .yw_box .item .txt span{
font-size: 20px;
font-weight: bold;
}
.main .yw .yw_box .item .txt img{
width: 25px;
height: 25px;
}
.main .yw .yw_box .hf{
width: 100%;
margin: 30px 0;
display: flex;
justify-content: space-between;
}
.main .yw .yw_box .hf .hf_item{
width: 310px;
display: flex;
align-items: center;
}
.main .yw .yw_box .hf .hf_item:hover .txt1{
color: #0058a6;
}
.main .yw .yw_box .hf .hf_item .img{
width: 60px;
height: 60px;
}
.main .yw .yw_box .hf .hf_item .txt{
margin-left: 20px;
}
.main .yw .yw_box .hf .hf_item .txt .txt1{
font-size: 22px;
font-weight: bold;
}
.main .yw .yw_box .hf .hf_item .txt .txt2{
color: #4c4c4c;
font-size: 16px;
margin-top: 10px;
}
.main .share{
width: 100%;
height: 120px;
background-color: #e3e3e5;
}
.main .share .share_box{
width: 1320px;
margin: auto;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 22px;
font-weight: bold;
}
.main .share .share_box .left{
display: flex;
align-items: center;
justify-content: space-between;
}
.main .share .share_box .right{
position: relative;
width: 340px;
height: 40px;
border: 1px solid #0058a6;
background-color: #fff;
}
.main .share .share_box .right span{
position: absolute;
top: 0;
right: 0;
display: block;
width: 80px;
height: 40px;
border-left: 1px solid #0058a6;
}
.main .share .share_box .right span::before{
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 28px;
height: 23px;
display: block;
transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
-o-transform: translate(-50%,-50%);
background: url("../image/search.jpg") no-repeat;
background-size: 100% 100%;
}
.main .share .share_box .right input{
width: 100%;
height: 100%;
border: none;
background: none;
padding: 10px;
box-sizing: border-box;
}
.main .share .share_box img{
width: 22px;
height: 22px;
margin-left: 10px;
}
.main .footer{
width: 100%;
height: 325px;
background-color: #a7a7a7;
}
.main .footer .footer_box{
width: 1320px;
margin: auto;
display: flex;
padding-top: 50px;
color: #fefefe;
justify-content: space-between;
}
.main .footer .footer_box .item p:nth-of-type(1){
color: #fefefe;
font-size: 20px;
font-weight: bold;
margin-bottom: 30px;
}
.main .footer .footer_box .item p{
font-size: 16px;
margin-bottom: 12px;
}
.main .footer_bottom{
width: 100%;
height: 67px;
}
.footer_bottom_box{
color: #808080;
font-size: 16px;
width: 1320px;
margin: auto;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。
第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识
第三、学到了就要用到
有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏”
一键三连哦!
2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.