⛵ 源码获取 +v:jshtml5
web网页设计制作,DIV+CSS 布局制作,HTML+CSS网页设计期末课程大作业 |个人博客网站 | 个人主页介绍 | 个人简介 | 个人博客设计制作 | 等网站的设计与制作 | 大学生个人HTML网页设计作品 | HTML期末大学生网页设计作业,Web大学生网页
网页设计三要素 1. HTML:网页布局结构,常用标签div+p+a+li等 2. CSS:css与css3用于对页面的样式控制 3. JavaScript:制作交互行为,例如轮播图,表单验证等 1 2 3 页面介绍 所有页面相互超链接,可到三级页面,有5-10个页面组成。 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。 菜单美观、醒目,二级菜单可正常弹出与跳转。
1.首页
2.兴趣爱好
3.旅游日记
4.家乡美景
5.我的相册
6.给我留言
1 2 3 4 5 6 网页展示
源代码
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>个人主页</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="header">
<div class="wp fx">
<h1 class="logo">
<img src="images/logo.png" alt="">
</h1>
<div class="nav">
<a href="index.html" class="active">首页</a>
<a href="page2.html">兴趣爱好</a>
<a href="page3.html">旅游日记</a>
<a href="page4.html">家乡美景</a>
<a href="page5.html">我的相册</a>
<a href="page6.html">给我留言</a>
</div>
</div>
</div>
<div class="banner">
<div class="swiper-container">
<button id="prevBtn" class="swiper-btn"> ←</button>
<div class="swiper" id="swiper">
<div class="swiper-slide"><img src="images/banner1.jpg" alt=""></div>
<!-- <div class="swiper-slide"><img src="images/banner2.jpg" alt=""></div> -->
</div>
<button id="nextBtn" class="swiper-btn"> →</button>
<div class="swiper-pagination"></div>
</div>
</div>
<div class="haimian">
<div class="wp">
<div class="haimian_item fx">
<div class="leftfx fx">
<div class="haimian_pic"><img src="images/about.jpg" alt=""></div>
<div class="jeishao" style="width: 300px;">
<h2>个人资料</h2>
<div class="date">2024118822</div>
<div class="shuoing">
<p>姓名:小馨</p>
<p>年龄:21</p>
<p>性别:女</p>
<p>邮箱:287779449@qq.com</p>
</div>
</div>
<div class="jeishao" style="width: 600px;">
<h2>教育经历</h2>
<div class="date">2022.09-至今</div>
<div class="text">
上海出版印刷高等专科学校大数据技术 |大专
所学课程:网页设计与制作、Python 编程开发、JAVA 程序设计、C 语言、人工智能概论、计算机网络技术、web 应用程序开发、智能多模态交互应用、数据库技术及应用
</div>
</div>
</div>
</div>
</div>
</div>
<div class="huiyuan">
<h2 class="youshi_title">自我评价</h2>
<div class="wp fx">
<img class="wlghimg" src="images/wlgh.jpg" alt="">
<div class="wlgh-text">
<p> 1、通过在校期间的学习,具备扎实的专业知识和
技能,熟悉编程语言(如C++、Java等)和数据结
构、算法等核心概念。</p>
<p> 2、熟悉会计工作流程;了解会计、税务相关法律
法规以及企业基础知识。
</p>
<p> 3、熟练使用金蝶、用友等财务软件以及MS Offic
e/VPS办公软件。</p>
<p> 4、为人勤奋、踏实肯干,具有出色的团队协作能
力和工作执行力;思维敏捷,具有严谨的工作作风、
良好的沟通能力,能承受一定的工作压力,能够很
快适应新的环境。</p>
</div>
</div>
</div>
<div class="footer">
<div class="wp footer_content fx">
<dl>
<p>姓名:小馨</p>
<p>年龄:21</p>
<p>邮箱:287779449@qq.com</p>
</dl>
<dl>
<dd class="icon_dd">
<img src="images/icon_1.svg" alt="">
<img src="images/icon_2.svg" alt="">
<img src="images/icon_3.svg" alt="">
</dd>
</dl>
</div>
</div>
<script src="js/lb.js"></script>
</body>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
ul li {
list-style: none;
}
img {
max-width: 100%;
}
.wp {
width: 1200px;
margin: 0 auto;
}
.fx {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
.header {
height: 120px;
width: 100%;
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
margin-bottom: 10px;
}
.logo img{
/* line-height: 120px;
color: #3232c7; */
height: 60px;
}
.nav {
line-height: 120px;
}
.nav a {
margin-left: 50px;
color: #000;
}
.nav a.active {
color: #3232c7;
}
.BgBanner {
width: 100%;
height: 800px;
background: url(../images/1.jpg) no-repeat;
background-size: cover;
}
.BgBanner2 {
background: none;
position: relative;
height: 400px;
overflow: hidden;
}
.BgBanner2 img {
width: 100%;
}
.cenert_text {
position: absolute;
top: 30%;
left: 30%;
width: 50%;
color: #fff;
}
.zhe_title {
font-size: 50px;
margin-bottom: 30px;
}
.wenzi {
font-size: 20px;
}
.ljgd a {
display: inline-block;
width: 150px;
line-height: 45px;
background-color: #fff;
text-align: center;
color: #3232c7;
margin-top: 50px;
border-radius: 5px;
}
.haimian {
background-color: #fff;
}
.haimian_pic {
width: 300px;
}
.haimian_pic img {
/* width: 100%; */
height: 380px;
transition: all 1s;
float: right;
}
.haimian_pic img:hover{
transform: rotateY(180deg);
}
.haimian_item {
margin: 100px auto;
background-color: #fff;
}
.jeishao {
padding: 0 30px;
}
.jeishao>h2{
margin-top: 20px;
}
.jeishao .text{
text-indent: 2rem;
line-height: 30px;
}
.pr100 {
padding-right: 100px;
}
.pl100 {
padding-left: 100px;
}
.date {
color: #999;
margin: 15px 0;
}
.shuoing {
margin-top: 30px;
}
.shuoing p {
font-size: 18px;
margin-bottom: 10px;
}
.haimian_item_ljgd a {
display: inline-block;
width: 150px;
line-height: 45px;
border: 1px solid #3232c7;
color: #3232c7;
text-align: center;
border-radius: 5px;
margin-top: 30px;
}
.servers {
padding: 50px 0;
background-color: #404040;
text-align: center;
color: #fff;
}
.servers .tips {
margin: 20px 0;
font-size: 14px;
opacity: .7;
}
.servers .ljgd a {
background-color: #3894FF;
color: #fff;
line-height: 50px;
margin-top: 10px;
}
.footer {
padding: 50px 0;
background-color: #2D2D2D;
color: #fff;
}
.icon_dd img {
width: 50px;
margin-top: 20px;
margin-right: 10px;
margin-bottom: 20px;
transition: all .3s;
border-radius: 50%;
cursor: pointer;
}
.icon_dd img:hover {
background-color: #3894FF;
}
.dt_title {
margin-bottom: 20px;
}
.footer dd {
font-size: 14px;
line-height: 30px;
}
.footer_content {
align-items: start;
}
.huiyuan {
padding: 50px;
background-color: #f2f2f2;
}
.huiyuan ul li {
width: 290px;
padding: 20px;
margin-bottom: 15px;
background-color: #fff;
transition: all .3s;
}
.xiangce li img{
width: 100%;
height:350px;
transition: all .5s;
}
.xiangce li>div{
overflow: hidden;
}
.xiangce li img:hover{
transform: scale(1.3);
}
.xiangce li p{
margin-top: 20px;
text-align: center;
}
.huiyuan ul.item4 li{
width: 280px;
}
.sheji ul{
justify-content: left;
}
.sheji ul li{
box-shadow: 0 0 10px 10px #fff;
padding: 10px;
margin-right: 20px;
}
.huiyuan ul li .icon_img {
width: 50px;
margin: 0 auto;
}
.huiyuan ul li h3 {
text-align: center;
margin: 20px 0;
}
.huiyuan ul li .datu{
text-align: center;
height: 320px;
}
.huiyuan ul li .datu img {
max-width: 100%;
max-height: 300px;
margin-bottom: 20px;
}
.goumjieao {
color: #555;
text-align: center;
}
.goumjieao .jiage {
font-size: 20px;
text-align: center;
margin: 20px 0;
color: #000;
}
.ljgm a {
display: block;
background-color: #3894FF;
width: 150px;
line-height: 45px;
text-align: center;
margin: 0 auto;
color: #fff;
border-radius: 5px;
transition: all .3s;
}
.ljgm a:hover{
opacity: .8;
}
.huiyuanyoushi {
background-color: #F2F2F2;
padding: 50px 0;
}
.youshi_title {
text-align: center;
margin-bottom: 50px;
}
.huiyuanyoushi ul li {
width: 50%;
margin-bottom: 30px;
align-items: start;
}
.huiyuanyoushi ul li img {
width: 120px;
height: 120px;
margin-right: 30px;
}
.huiyuanyoushi ul li .youshijieshao {
flex: 1;
}
.huiyuanyoushi ul li .youshijieshao p {
margin-bottom: 20px;
line-height: 24px;
}
.pr70 {
padding-right: 70px;
}
.pl70 {
padding-left: 70px;
}
.about_title {
text-align: center;
margin: 50px 0;
color: #FCCA00;
font-size: 40px;
font-weight: bold;
}
.ztyw {
align-items: start;
background-color: #d5e6f7;
margin-bottom: 50px;
}
.ztyw img {
width: 500px;
}
.ztyw .bqb {
padding: 20px;
flex: 1;
text-indent: 2em;
line-height: 24px;
color: #555;
font-size: 14px;
}
.about_2 {
background-color: #F2F2F2;
padding: 50px 0;
}
.about_2>div {
margin-bottom: 50px;
}
.text_jieshap {
color: #555;
font-size: 14px;
line-height: 24px;
text-indent: 2em;
margin: 20px 0;
}
.xq_img {
text-align: center;
}
/*注册页面*/
.formBox {
background-color: #F2F2F2;
padding: 100px;
}
.zhuce_title {
text-align: center;
margin-bottom: 30px;
}
.formBox_content {
overflow: hidden;
background-color: #fff;
padding: 10px;
}
.formBox_content .left_pic {
float: left;
}
.formBox_content .left_pic img {
width: 300px;
margin-bottom: 20px;
}
.right_form {
width: 800px;
margin: 0 auto;
float: right;
}
.formFx {
display: flex;
align-items: center;
margin: 20px 0;
}
.formFx label {
width: 100px;
}
.formFx>div {
width: 600px;
}
.formFx .contact_name3 {
width: 100%;
height: 40px;
}
.formFx select {
width: 100%;
height: 40px;
}
.formFx textarea {
width: 100%;
height: 80px;
}
.submit_buutom {
margin: 20px;
}
.submit_buutom a {
display: block;
width: 300px;
line-height: 40px;
background-color: #3894FF;
text-align: center;
color: #fff;
margin: 0 auto;
}
.lyrj{
background-color: #fff;
padding: 20px;
}
.lyrj p{
text-indent: 2em;
line-height: 24px;
margin-bottom: 10px;
}
.lyzhao{
margin-top: 20px;
}
.lyzhao img{
width: 280px;
height: 450px;
}
.jiaxiang-item{
align-items: start;
background-color: #fff;
margin-bottom: 20px;
}
.jiaxiang-item img{
width: 400px;
height: 230px;
}
.jiaxiang-text{
width: 800px;
padding: 20px;
}
.jiaxiang-text p{
line-height: 26px;
margin-top: 30px;
text-indent: 2em;
}
.wlgh-text{
width: 800px;
padding: 20px;
}
.wlgh-text p{
margin-bottom:10px;
font-size: 16px;
line-height: 35px;
}
.wlghimg{
width: 400px;
height: 240px;
}
/*留言板*/
.liuyanban .title {
height: 80px;
background: #2b669a;
margin: auto;
color: #ffffff;
}
.liuyanban .title h1 {
line-height: 80px;
text-align: center;
}
.liuyanban .title span {
float: left;
width: 80px;
line-height: 80px;
font-size: 12px;
}
.liuyanban #contents {
background: #9acfea;
margin: auto;
}
.liuyanban #contents .box {
height: 150px;
border-bottom: 1px dashed #ffffff;
}
.liuyanban #contents .box .div01 {
width: 50px;
text-align: center;
float: left;
line-height: 150px;
}
.liuyanban #contents .box .tit {
width: 80px;
height: 80px;
float: left;
margin: 30px;
}
.liuyanban #contents .box .tit img {
width: 80px;
height: 80px;
}
.liuyanban #contents .box .main {
width: 100px;
height: 100px;
float: left;
margin-top: 30px;
line-height: 40px;
}
.liuyanban #contents .box .div02 {
font-size: 12px;
width: 240px;
height: 100px;
float: right;
line-height: 40px;
margin-top: 30px;
}
.div02 a{
font-size: 14px;
color: #555;
margin: 0 10px;
}
.div02>div{
font-size: 14px;
line-height: 26px;
}
.liuyanban .title1 {
height: 80px;
background: #2b669a;
margin: auto;
color: #ffffff;
}
.liuyanban .title1 span {
float: left;
width: 80px;
line-height: 80px;
font-size: 12px;
}
.liuyanban .title1 h1 {
line-height: 80px;
text-align: center;
}
.liuyanban .message {
margin: auto;
line-height: 30px;
padding: 30px 0;
background-color: #fff;
position: relative;
}
.liuyanban .tijiao{
background-color: #3232c7;
color: #fff;
text-align: center;
line-height: 40px;
font-size: 20px;
font-weight: bold;
cursor: pointer;
}
.liuyanban .message .liuyan_box {
width: 600px;
margin: 0 auto;
font-size: 20px;
}
.liuyanban .avatar {
width: 50px;
height: 50px;
border: 3px solid #fff;
}
.liuyanban .border {
border: 3px solid #2b669a;
}
.liuyanban .red {
color: red;
}
#currentAvatar{
width: 200px;
height: 200px;
}
.liuyanlist{
display: flex;
background-color: #fff;
padding: 30px;
border-bottom: 1px solid #ccc;
}
.liuyanlist .div01{
width: 100px;
font-size: 18px;
}
.liuyanlist .tit img{
width: 100px;
height: 100px;
}
.liuyanlist .main{
width: 750px;
padding-left: 30px;
}
.liuyanlist .main>div{
margin-bottom: 10px;
}
.tongji{
padding: 20px;
font-size: 18px;
}
#name{
width: 300px;
height: 35px;
}
#textarea{
width: 300px;
height: 150px;
outline: none;
padding-left: 10px;
padding-top: 10px;
}
.input_box{
display: flex;
align-items: start;
margin-bottom: 20px;
}
.input_box label{
font-size: 14px;
width: 80px;
}
.input_box input{
width: 200px;
height: 35px;
background: #fff;
padding: 0 10px;
}
.currentAvatarBox{
position: absolute;
right: 20px;
top: 100px;
}
.error-msg{
font-size: 14px;
color: red;
}
.banner{
width: 1600px;
margin: 50px auto;
}
.swiper-container {
overflow: hidden;
width: 100%;
position: relative;
}
.swiper {
display: flex;
transition: transform 0.5s ease;
}
.swiper-slide {
width: 1600px;
height: 650px;
flex-shrink: 0;
}
.swiper-slide img {
width: 100%;
display: block;
}
.swiper-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 100;
background-color: #fff;
border: none;
padding: 10px;
cursor: pointer;
color: #02cbe6;
width: auto;
width: 50px;
height: 50px;
border-radius: 50%;
transition: all .3s;
}
#prevBtn {
left: 30px;
}
#nextBtn {
right:30px;
}
.swiper-container:hover .swiper-btn{
opacity: 1;
}
.swiper-container:hover #prevBtn {
left: 10px;
}
.swiper-container:hover #nextBtn {
right: 10px;
}
.swiper-pagination {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
width: 100%;
display: flex;
justify-content: center;
z-index: 9;
}
.swiper-pagination .swiper-pagination-bullet{
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #999;
margin: 0 5px;
}
.swiper-pagination .swiper-pagination-bullet-active{
background-color: #4377e9;
}
.leftfx{
flex: 1;
align-items: self-start;
}
.page2{
align-items: self-start;
}
.page2 .jeishao{
width: 600px;
}
.page2 .haimian_pic{
width: 550px;
}
.page2 .haimian_pic img{
width: 100%;
}
获取完整源码及素材 +V :jshtml5
网站介绍 📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。
📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。
📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;
📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。