👨?🎓学生HTML静态网页基础水平制作👩?🎓,页面排版干净简洁。使用HTML+CSS页面布局设计,web大学生网页设计作业源码,这是一个不错的旅游网页制作,画面精明,排版整洁,内容丰富,主题鲜明,非常适合初学者学习使用, 这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。
🏷?HTML音乐网页设计,采用DIV+CSS布局,共有多个页面,排版整洁,内容丰富,主题鲜明,首页使用CSS排版比较丰富,色彩鲜明有活力,导航与正文字体分别设置不同字号大小。导航区域设置了背景图。子页面有纯文字页面和图文并茂页面。
🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言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">
<title>Demo</title>
<link rel="icon" href="favicons/1.png">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<header class="header">
<div class="header-container">
<div class="header-top">
<a href="#" class="logo"></a>
<nav class="header-nav">
<ul>
<li><a href="#" class="header-nav__cur">音乐馆</a></li>
<li><a href="#">我的音乐</a></li>
<li><a href="#">下载客户端</a></li>
<li><a href="#">VIP</a></li>
</ul>
</nav>
<i class="icon-play"></i>
<div class="title">
<i></i>
<h3>热歌</h3>
</div>
<i class="line"></i>
<ul class="song-list">
<li class="song-list__item">
<a href="#"><span>1</span>默 (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>2</span>月亮粑粑 (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>3</span>Uptown Funk (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>4</span>你永远不知道 (Live)</a>
<span>张杰</span>
</li>
</ul>
</li>
<li class="rank-list__item rank-list__3">
<span class="rank-bg"></span>
<span class="mask"></span>
<i class="icon-play"></i>
<div class="title">
<i></i>
<h3>新歌</h3>
</div>
<i class="line"></i>
<ul class="song-list">
<li class="song-list__item">
<a href="#"><span>1</span>默 (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>2</span>月亮粑粑 (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>3</span>Uptown Funk (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>4</span>你永远不知道 (Live)</a>
<span>张杰</span>
</li>
</ul>
</li>
<li class="rank-list__item rank-list__4">
<span class="rank-bg"></span>
<span class="mask"></span>
<i class="icon-play"></i>
<div class="title">
<i></i>
<h3>欧美歌曲</h3>
</div>
<i class="line"></i>
<ul class="song-list">
<li class="song-list__item">
<a href="#"><span>1</span>默 (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>2</span>月亮粑粑 (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>3</span>Uptown Funk (Live)</a>
<span>张杰</span>
</li>
<li class="song-list__item">
<a href="#"><span>4</span>你永远不知道 (Live)</a>
<span>张杰</span>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- 热门歌单 -->
<div class="main" id="hotSong">
<div class="main-inner">
<div class="main-title">
<h2 class="title"><i></i></h2>
<span class="line line-left"></span>
<span class="line line-right"></span>
</div>
<div class="main-slider">
<ul class="slider-wrapper">
<li>
<a href="#" class="img">
<img src="images/cont/slider_img1.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<!-- <a href="#">那个静默的阳光午后</a> -->
<a href="#">殿堂金钻认证:BIGBANG最热歌曲大合集</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img2.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<a href="#">那个静默的阳光午后</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img3.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<a href="#">那个静默的阳光午后</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img4.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<a href="#">那个静默的阳光午后</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img5.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<a href="#">那个静默的阳光午后</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img6.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<a href="#">那个静默的阳光午后</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img7.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
<div class="title">
<a href="#">那个静默的阳光午后</a>
<i class="icon-sprite"></i>
</div>
<a href="#" class="author">播放量:179.7万</a>
</div>
</li>
<li>
<a href="#" class="img">
<img src="images/cont/slider_img8.jpg" alt="#">
<span class="mask"></span>
<i class="icon-play"></i>
</a>
<div class="info">
</div>
</div>
<div class="footer-copyright">
<p><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a><span>|</span><a href="#">关于我们</a></p>
<p>Copyright ? 1998 - 2017 kk. All Rights Reserved.</p>
<p>我们公司 版权所有 我们网络文化经营许可证</p>
</div>
</div>
</footer>
<!-- 分享到 -->
<ul class="slider-share">
<li><a href="#">
<i class="icon-sprite icon-add"></i>
添加到
<i class="icon-sprite icon-arrow"></i>
</a></li>
<li><a href="#">
<i class="icon-sprite icon-share"></i>
分享
<i class="icon-sprite icon-arrow"></i>
</a></li>
<li><a href="#">
<i class="icon-sprite icon-download"></i>
下载
</a></li>
</ul>
<script src="js/jquery.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>
/* ====== general ====== */
.clearfix {
zoom: 1;
}
.clearfix:after {
content: "020";
height: 0;
display: block;
clear: both;
visibility: hidden;
}
.fl {
float: left;
}
.fr {
float: right;
}
.icon-sprite {
background: url(../images/icon_sprite.png) no-repeat;
}
/* ====== public ====== */
.main {
overflow: hidden;
position: relative;
}
.main-inner {
position: relative;
width: 1200px;
margin: 0 auto;
}
.main-title {
position: relative;
width: 490px;
height: 46px;
padding-top: 80px;
margin: 0 auto 50px;
}
.main-title .title {
width: 490px;
text-align: center;
}
.main-title .title i {
display: inline-block;
width: 196px;
height: 46px;
background: url(../images/main_title.png) no-repeat;
}
.main-title .line {
position: absolute;
top: 104px;
width: 72px;
height: 1px;
background-color: #fff;
opacity: .1;
}
.main-title .line-left {
left: 0;
}
.main-title .line-right {
right: 0;
}
.readAll {
position: absolute;
right: 0;
color: #fff;
font-size: 15px;
}
.readAll i {
display: inline-block;
width: 7px;
height: 12px;
margin-left: 6px;
background-position: -40px -260px;
}
.readAll:hover i {
background-position: -120px -60px;
}
.main-tab {
text-align: center;
font-size: 0;
}
.main-tab .item {
display: inline-block;
height: 50px;
font-size: 16px;
margin: 0 35px;
color: #fff;
opacity: .5;
}
.main-tab .item:hover,
.main-tab .item-cur {
opacity: 1;
}
.main-slider {
overflow: hidden;
width: 1200px;
}
.main-slider .slider-wrapper {
position: relative;
left: 0;
height: 414px;
margin-bottom: 35px;
}
.slider-wrapper li {
float: left;
width: 300px;
height: 414px;
}
.slider-wrapper .img {
position: relative;
overflow: hidden;
width: 300px;
height: 300px;
}
/* .slider-wrapper .img img,
.slider-wrapper .img i,
.main .mask,
.main .icon-play {
transition: all 0.4s;
-webkit-transition: all 0.4s;
}
.slider-wrapper .img:hover img {
transform: scale(1.07);
-webkit-transform: scale(1.07);
} */
.main .img img,
.main .img i,
.main .mask,
.main .icon-play {
transition: all 0.4s;
-webkit-transition: all 0.4s;
}
.main .img:hover img {
transform: scale(1.07);
-webkit-transform: scale(1.07);
}
.main .mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0;
}
.main .icon-play {
position: absolute;
left: 50%;
top: 50%;
width: 70px;
height: 70px;
margin: -35px;
background: url(../images/icon_play.png) no-repeat;
opacity: 0;
transform: scale(0.7);
-webkit-transform: scale(0.7);
}
/* play && mask 这里有一个就复制一个过来 */
.slider-wrapper .img:hover .mask,
.rank-list__item:hover .mask {
opacity: 0.4;
}
.slider-wrapper .img:hover .icon-play,
.rank-list__item:hover .icon-play,
.mv-list .item:hover .icon-play {
opacity: 1;
transform: scale(1);
-webkit-transform: scale(1);
}
.slider-wrapper .info {
width: 100%;
height: 114px;
background-color: rgba(0, 0, 0, .8);
text-align: center;
font-size: 16px;
}
.slider-wrapper .info-event .info {
background-color: rgba(0, 0, 0, .6);
}
.slider-wrapper li:hover .info {
background-color: #31c27c !important;
}
.slider-wrapper .info .title {
padding-top: 34px;
}
.slider-wrapper .info .title a,
.slider-wrapper .info .title .icon-sprite {
display: inline-block;
color: #fff;
}
.slider-wrapper .info .icon-sprite {
opacity: 0;
display: inline-block;
width: 20px;
height: 20px;
vertical-align: top;
background-position: -180px -100px;
transition: opacity 0.4s;
-webkit-transition: opacity 0.4s;
}
.slider-wrapper li:hover .info .icon-sprite {
opacity: 1;
}
.slider-wrapper .info .author {
line-height: 44px;
color: #999;
}
.slider-wrapper li:hover .info .author {
display: inline-block;
color: #c1e9d5;
}
.slider-btns {
text-align: center;
font-size: 0;
}
border-radius:2em;
}
::-webkit-scrollbar-thumb:hover {
background-color: #666;
}
21年程序员总结给编程菜鸟的16条忠告
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “??评论” “💙收藏”
一键三连哦!
2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.