天天看点

HTML+CSS大作业【传统文化艺术耍牙15页】学生个人网页设计作品

📂文章目录

  • ​​一、👨‍🎓网站题目​​
  • ​​二、✍️网站描述​​
  • ​​三、📚网站介绍​​
  • ​​四、🌐网站演示​​
  • ​​五、⚙️ 网站代码​​
  • ​​🧱HTML结构代码​​
  • ​​💒CSS样式代码​​
  • ​​六、🥇 如何让学习不再盲目​​
  • ​​七、🎁更多干货​​

一、👨‍🎓网站题目

🍵茶文化网站、🏳️‍🌈中华传统文化题材、京剧文化🔏水墨风书画、中国民间年画文化艺术网站 、等网站的设计与制作。

二、✍️网站描述

🏷️ 这个首页代码运用了DIV盒子的使用方法,如盒子的嵌套、浮动、margin、border、background等属性的使用,外部大盒子设定居中,内部左中右布局,下方横向浮动排列,大学学习的前端知识点和布局方式都有运用,CSS的代码量也很足、很细致,使用hover来完成过渡效果、鼠标滑过效果等,使用表格、表单补充模块,为方便新手学习, 个别源码页面中没有使用js有需要的可以自行添加。

🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)

  1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
  2. 所有页面相互超链接,可到三级页面,有5-10个页面组成。
  3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
  4. 菜单美观、醒目,二级菜单可正常弹出与跳转。
  5. 要有JS特效,如定时切换和手动切换图片轮播。
  6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
  7. 页面清爽、美观、大方,不雷同。 。
  8. 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。

三、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言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代码)。

四、🌐网站演示

HTML+CSS大作业【传统文化艺术耍牙15页】学生个人网页设计作品
HTML+CSS大作业【传统文化艺术耍牙15页】学生个人网页设计作品
HTML+CSS大作业【传统文化艺术耍牙15页】学生个人网页设计作品
HTML+CSS大作业【传统文化艺术耍牙15页】学生个人网页设计作品
HTML+CSS大作业【传统文化艺术耍牙15页】学生个人网页设计作品

五、⚙️ 网站代码

🧱HTML结构代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>耍牙首页</title>
<link href="style/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<div class="main">
<div class="top">
<div class="logo">
<img src="images/logo.jpg" />
</div>
<div class="nav">
<ul>
<li><a class="hot" href="index.html">网站首页</a></li>
<li><a href="news.html">耍牙新闻</a></li>
<li><a href="mingduan.html">名段欣赏</a></li>
<li><a href="mingjia.html">耍牙名家</a></li>
<li><a href="baike.html">耍牙百科</a></li>
<li><a href="sousuo.html"><img src="images/sous.jpg" /></a></li>
<li><a href="rongyu.html"><img src="images/ry.jpg" /></a></li>
</ul>
</div>
</div>

<div class="banner">
<img src="images/banner1.jpg" />
</div>

<div class="foot">
<div class="bx1">
<div class="left">选择您的地点</div>
<div class="center">
<img src="images/foot2.png" />
<h2>新闻刊物</h2>
<h3>探索耍牙最新资讯</h3>
<h4>订阅</h4>
</div>
<div class="right">
<div class="tu">
<img src="images/foot3.png" />
<img src="images/foot4.png" />
</div>
<h4>关注我们</h4>
</div>
</div>
<div class="bx2">
<a href="#">400 885 6618</a>
<a href="#">联系我们</a>
<a href="#">使用条款</a>
<a href="#">关于我们</a>
<a href="#">广告联系</a>
<a href="#">意见反馈</a>
<a href="#">版权申明</a>
<a href="#">常见问题</a>
<a href="#">鸣谢</a>
<a href="#">沪ICP备14014303号-4 <span class="span1"><img src="images/foot5.png" /></span></a>
<a href="#"><span class="span2"><img src="images/foot6.png" /></span>沪公网安备31010602002427号</a>
</div>
</div>


</div>
</body>
</html>      

💒CSS样式代码

@charset "utf-8";
/* CSS Document */
body{ margin:0 auto; font-size:12px; font-family: "微软雅黑"; line-height:22px; background:#d4d1d1;   }

div,p,input,ul,li,p,h1,h2,h3,h4{ height:auto; margin:0;; padding:0; vertical-align:middle ;}

li{ list-style:none;}

a{ text-decoration:none;}

a{ text-decoration:none;}
img{ border:0; margin:0; padding:0;} 
/* 首页 */
.main{ width:1400px; height:auto; overflow:hidden;  margin:0 auto; background:#FFF;}
/*---top开始-----*/
.top{ height:188px;}
.logo{ width: 292px;
height: 93px;
float: left;
margin-top: 51px;
margin-left: 63px;
margin-right: 180px;}
.nav{ width: 850px;
height: 50px;
margin-top: 96px;
float: left;}
.nav li{ height:50px; line-height:50px; margin:0px 20px; float:left;}
.nav li a{ font-size:18px; color:#000;letter-spacing: 6px; }
.nav li a:hover{ color:#d1a856;}
.hot{color:#d1a856 !important;}
.banner{ height:798px;}
/*---foot-----*/
.foot{ height:343px; background:url(../images/foot1.jpg) repeat-x; margin-top:30px;}
.foot .bx1{ height:259px;}
.foot .bx1 .left{ width:219px; height:38px; background:#a2a2a2; line-height:38px; text-align:center; float:left; margin-left:130px; margin-top:187px; font-size:14px; color:#FFF;
}
.foot .bx1 .center{ width:220px; height:259px; float:left; margin-left:248px; text-align:center;}
.foot .bx1 .center img{ display:block; margin:0 auto;}
.foot .bx1 .center h2{ line-height:40px; height:40px; font-size:30px; font-weight:normal;}
.foot .bx1 .center h3{ height:20px; line-height:20px; font-size:14px; font-weight:normal; margin-bottom:15px;}
.foot .bx1 .center h4{background:#a2a2a2; line-height:38px; width:220px; height:38px;font-size:14px; font-weight:normal; color:#FFF;}
.foot .bx1 .right{ width: 220px;
height: 117px;
float: left;
margin-left: 311px;
padding-top: 142px;}
.foot .bx1 .right h2{ font-weight:normal; font-size:16px; height:30px; line-height:30px; margin-top:88px; margin-bottom:10px;}
.foot .bx1 .right .tu{ height:40px;}
.foot .bx1 .right .tu img{ float:left; margin-right:20px;}
.foot .bx1 .right h4 {
    background: #a2a2a2;
line-height: 38px;
width: 220px;
height: 38px;
font-size: 14px;
font-weight: normal;
color:#FFF;
text-align:center;
}
.foot .bx2{ height:60px; line-height:60px; padding:0px 20px;}
.foot .bx2 a{ color:#000; float:left; margin:0px 16px; font-size:14px;}
.foot .bx2 a .span1{padding-top: 15px;

height: 40px;

display: block;

float: right;}
.foot .bx2 a .span2{padding-top: 15px;

height: 40px;

display: block;

float: left;}
.foot .bx2 img{  margin:0px 20px;}
.main{ width:1400px; height:auto; overflow:hidden; background:#FFF;}

/*---新闻中心-----*/
.news{ padding:150px; background:#dbe0e2; padding-top:20px;}
.news .newtit{ height:50px; margin-top:20px; }
.news .newtit h2{ height:50px;  float:left; font-size:34px; font-weight:normal;}
.news .newtit .riqi{ width:350px; float:right; }
.news .newtit .riqi span{ font-size:16px; float:left;  margin-right:10px;}
.slets1{ width:90px; height:30px; float:left; background:#eeeeee; border:none; line-height:30px; padding-left:10px; margin-right:10px;
  /*很关键:将默认的select选择框样式清除*/
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
 
  /*在选择框的最右侧中间显示小箭头图片*/
  background: url(../images/jiantou.jpg) no-repeat scroll right center transparent;
 
 
  /*为下拉小箭头留出一点位置,避免被文字覆盖*/
  padding-right: 14px;
}
.slets2{ width:60px; height:30px; float:left; background:#eeeeee; line-height:30px; padding-left:10px; margin-right:10px;border:none;
 /*很关键:将默认的select选择框样式清除*/
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
 
  /*在选择框的最右侧中间显示小箭头图片*/
  background: url(../images/jiantou2.jpg) no-repeat scroll right center transparent;
 
 
  /*为下拉小箭头留出一点位置,避免被文字覆盖*/
  padding-right: 14px;
}
.btn{ width:70px; height:25px; text-align:center; font-size:16px; background:#eeeeee; float:left;border:none;}

.newbx1{ height:435px; width:1100px; margin:0 auto;}
.newbx1 .left{ width:418px; padding-left:40px; height:415px; float:left; background:url(../images/new03.jpg) no-repeat;padding-top: 20px;}
.newbx1 .left .data{ height:30px; font-size:12px; color:#3c3d3d;}
.newbx1 .left .data span{ float:left; margin-right:20px;}
.newbx1 .left img{ float:left;}
.newbx1 .left .titi{ height:50px; margin-bottom:30px; font-size:24px;}
.newbx1 .left p{color: #3c3d3d;
width: 310px;
line-height: 30px;
font-size: 16px;
text-indent:2em;}
.newbx1 .right{ width:436px; height:288px; float:left; margin-left:122px; margin-top:120px;}

.newbx2{ height:500px; width:1100px; margin:0 auto;}
.newbx2 .left{ width:418px; padding-left:40px; height:500px; float:left; padding-top: 20px;}
.newbx2 .left .data{ height:30px; font-size:12px; color:#3c3d3d;}
.newbx2 .left .data span{ float:left; margin-right:20px;}
.newbx2 .left img{ float:left;}
.newbx2 .left .titi{ height:50px; margin-bottom:30px; font-size:24px;}
.newbx2 .left p{color: #3c3d3d;
width: 310px;
line-height: 30px;
font-size: 16px;
text-indent:2em;}
.newbx2 .right{ width:576px; height:376px; float:left; margin-left:10px; margin-top:120px;}



/*---名段欣赏-----*/
.mingduan{ width:1233px; margin:0 auto; }
.mingduan .bx1{ height:313px; background:url(../images/md01.jpg) no-repeat;padding-top:25px; margin-bottom:77px;}
.mingduan .bx1 .jies{ width:380px; height:260px; margin-left:777px;  background:#FFF; text-align:center;}
.mingduan .bx1 .jies h2{ height:45px; padding-top:40px; margin-bottom:20px; font-size:18px;}
.mingduan .bx1 .jies p{ padding:0px 35px; line-height:20px; font-size:12px;}
.mingduan .bx1 .jies .xian{ width:80px; height:15px; border-bottom:#666 1px solid; margin:0 auto;}
.mingduan .bx2{background:url(../images/md02.jpg) no-repeat !important ;}
.mingduan .bx3{background:url(../images/md03.jpg) no-repeat !important ;}
.mingduan .bx2 .jies2{ margin-left:75px !important; margin-top:10x !important;}

/*---耍牙名家-----*/
.sytitle{ height:77px; line-height:77px; font-size:40px; text-align:center; margin-bottom:20px;}
.rup{ width:1304px; height:634px; margin:0 auto;}
.rup img{ float:left;}
/*---叶全民-----*/
.yqm{ width:1100px; height:auto; background:url(../images/new03.jpg) no-repeat; padding:20px;}
.yqm .img1{ float:right; margin-left:60px; margin-bottom:60px;}
.yqm p{ font-size:16px; line-height:35px; text-indent:2em; color:#4d4d4e;}
.yqm .img2{ margin:0 auto; display:block;}
.yqm h2{ height:60px; line-height:60px; margin-top:100px; text-align:right;}

/*---耍牙百科-----*/
.bkbx1{ width:1259px; height:344px;background:url(../images/bk01.png) no-repeat; margin:0 auto;margin-bottom:40px; }
.bkbx1 a{color:#FFF;}
.bkbx1 a:hover{ color:#F00 ;}
.bkbx1 h2{ height:66px; line-height:60px; padding-top:30px; margin-bottom:30px; font-size:40px; font-weight:normal;text-align:center;}
.bkbx1 p{ line-height:35px; font-size:16px;  text-align:center;}
.bkbx1 .duanx{ width:125px; height:25px; margin:0 auto;  margin-top:40px;}

.bkbx2{ width:1259px; height:324px;background:url(../images/bk02.png) no-repeat; margin:0 auto;padding-top:24px;margin-bottom:40px; }
.bkbx2 a{color: #000;}
.bkbx2 a:hover{ color:#F00;}
.bkbx2 .neiw{ width:963px; height:285px; background:#FFF; margin-left:36px; }
.bkbx2 h2{ height:66px; line-height:60px; padding-top:30px; margin-bottom:30px; font-size:40px; font-weight:normal;  text-align:center;}
.bkbx2 p{ line-height:35px; font-size:16px; text-align:center;}
.bkbx2 .duanx{ width:125px; height:25px; margin:0 auto;  margin-top:40px;}


.bkbx3{ width:1259px; height:324px;background:url(../images/bk03.png) no-repeat; margin:0 auto;padding-top:24px;margin-bottom:40px; }
.bkbx3 .neiw{ width:963px; height:285px;  margin-left:380px; }
.bkbx3 h2{ height:66px; line-height:60px; padding-top:30px; margin-bottom:30px; font-size:40px; font-weight:normal;  text-align:center; }
.bkbx3 p{ line-height:35px; font-size:16px; text-align:center;}
.bkbx3 .duanx{ width:125px; height:25px; margin:0 auto;  margin-top:40px;}
.bkbx3 a{color:#FFF;}
.bkbx3 a:hover{ color:#F00;}

/*---耍牙起源-----*/
.qy{ height:1802px; background:url(../images/qy.jpg) no-repeat; position:relative;}
.qy .bx1{ width:177px; height:108px; position:absolute; left:170px; top:30px;}
.qy .bx1 h2{ line-height:50px; height:50px; font-size:26px;font-weight:normal;}
.qy .bx1 h3{ line-height:45px; height:45px; font-size:20px; font-weight: lighter;}
.qy .bx2{ width:351px; height:94px; position:absolute; left:501px; top:466px;}
.qy h4{ height:53px; line-height:53px; font-size:26px; color:#c79813; font-weight:normal; border-bottom:#ececec 1px solid; font-weight:normal;}
.qy p{ height:43px; line-height:43px;font-weight:normal; font-size:14px; background:url(../images/qy01.jpg) no-repeat; padding-left:20px;}

.qy .bx3{ width:417px; height:96px; position:absolute; left:683px; top:992px;}
.qy .bx4{ width:575px; height:106px; position:absolute; left:332px; top:1511px;}

/*---步骤-----*/
.buz{ width:1400px; height:1195px; background:#dbe0e2;padding-top:19px;}
.buz .nerc{ width:1104px; height:1133px; background:url(../images/bz01.jpg) no-repeat; margin:0 auto; }
.buz .nerc .center{ width:910px; height:1035px; margin:0px; padding-top: 62px; margin:0 auto;}
.buz .nerc .center .tit{ height:52px; padding-bottom:19px; border-bottom:#787573 2px solid;line-height: 52px; margin-bottom:30px;
}
.buz .nerc .center .tit .left{ width:58px; height:52px; line-height:52px; background:url(../images/sanj.jpg) no-repeat 0px 20px; color:#787573; font-size:16px;float:left;}
.buz .nerc .center .tit .left a{color:#787573; padding-left:25px;}
.buz .nerc .center .tit .cent{ width:747px; height:52px; float:left; color:#070707; font-size:30px; text-align:center;}
.buz .nerc .center .tit .right{ width:105px; height:52px;float:left;}
.buz .nerc .center .tit .right img{ float:left;}

.buz .nerc .center .bx1{ width: 908px;
border-bottom:#787573 2px solid;
padding-bottom: 40px;}
.buz .nerc .center .bx1 img{ margin:0 auto; display:block;}
.buz .nerc .center .bx2{ width: 908px;
border-bottom:#787573 2px solid;padding: 20px 0px;}
.buz .nerc .center .bx2 p{ font-size:16px; line-height:40px; text-indent:2em;}
.buz .nerc .center .tit2{ height:52px; padding-bottom:19px; line-height: 52px; margin-bottom:30px;
}
.buz .nerc .center .tit2 .left{ width:58px; height:52px; line-height:52px; background:url(../images/sanj.jpg) no-repeat 0px 20px; color:#787573; font-size:16px;float:left;}
.buz .nerc .center .tit2 .left a{color:#787573; padding-left:25px;}

.buz .nerc .center .tit2 .right{ width:105px; height:52px;float:right;}
.buz .nerc .center .tit2 .right img{ float:left;}
/*---搜索页面-----*/
.sous{ height:987px; background:url(../images/sousuo.jpg) no-repeat;}
.sousbx1{ width:418px; height:190px; margin-top:163px; margin-left:527px;}
.sousbx1 h2{ height:60px; line-height:60px; text-align:center; font-size:30px; margin-bottom:25px; font-weight:normal;}
.inup{ width:415px; height:50px; border:#CCC 1px solid; line-height:50px; margin-bottom:17px;}
.inup .inut{ width:302px;padding-left:54px; height:48px; float:left; border:none;}
.inup .btn{ width:51px; height:44px; float:left; background:url(../images/sous02.jpg) no-repeat;}
.dingwei{ width:86px; height:36px; background:url(../images/sous03.jpg) no-repeat; padding-left:30px; color:#818181; font-size:16px; margin:0 auto;}
.fenxiang{ width:183px; height:56px; margin-left:644px; margin-top:313px; background:url(../images/sous04.jpg) no-repeat; text-align:center; font-size:16px; line-height:56px;}
.fenxiang a{ color:#FFF;}
/*---荣誉-----*/
.rongyu{ height:795px; background:#e5e6e9;}
.rongyu .left{ width:497px; height:794px; float:left; margin-left:62px; margin-right:105px;}
.rongyu .left h2{ height:60px; line-height:60px; font-size:30px; margin-top:20px;}
.rongyu .left p{ line-height:36px; font-size:16px; color:#3c3c3d;}
.rongyu .left h3{ height:65px; font-weight:normal; font-size:20px; line-height:65px; background:url(../images/ry01.jpg) no-repeat;}
.rongyu .right{ width:662px; height:794px; float:left;}
.rongyu .right .wenz{ height:265px;}
.rongyu .right .wenz ul{}
.rongyu .right .wenz ul li{ height:86px; line-height:86px; background:url(../images/ry04.jpg) no-repeat bottom; text-align:center;}
.rongyu .right .wenz ul li a{ font-size:16px; color:#333;}

.rongyu .right .yeshu{ height:35px; line-height:35px; text-align:center; margin-top:80px;}
.rongyu .right .yeshu a{ width:30px; line-height:33px; font-size:16px; color:#333; margin:0 10px;}
.rongyu .right a:hover{ color:#F00;}
.rongyu .right .hot{color:#F00 !important;}      

六、🥇 如何让学习不再盲目

第一、带着目标去学习,无论看书报课还是各种线下活动。

首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。

第二、学习要建立个人知识体系

知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识

继续阅读