用html写QQ音乐首页,使用HTML5仿制的QQ音乐PC版界面
QQ音乐界面仿制
在专业认识实习中,我们通过学习HTML超文本标记语言,提高了静态web前端页面的开发能力,下面就给大家展示一下我们小组仿制的QQ音乐官网界面,只是仿制了PC版,但是部分手机浏览器(QQ浏览器Anoriod)也可以打开(无法进行手机版界面自适应)。
下面展示一下各界面的源码:
主页
相应CSS源码
*{
margin: 0 auto;
padding: 0px;
}
.topNav{
width: 100%;
height: 180px;
}
.topCenter{
width: 1200px;
height: 90px;
}
.under{
width: 1200px;
height: 51px;
}
.logo{
width: 170px;
height: 46px;
float: left;
margin-top: 22px;
}
.top1{
width:436px;
height: 90px;
float: left;
padding-left: 20px;
}
.top2 {
width: 94px;
height: 90px;
background-color:#31c27c;
float: left;
}
.top2 a{
width: 94px;
height: 90px;
line-height: 90px;
float: left;
text-align: center;
font-size: 18px;
text-decoration: none;
color: white;
}
.top1 nav a{
line-height: 90px;
float: left;
color: black;
text-align: center;
font-size: 18px;
text-decoration: none;
padding-left: 20px;
}
.top1 nav a:hover{
/**/
color:rgb(49, 194, 124);
}
.top3{
width: 230px;
height: 36px;
float: left;
margin-top: 26px;
border: 1px solid #c9c9c9;
}
.search1{
width: 174px;
height: 36px;
border:0 none;
outline:none;
/*内边距:文字距离边内边框的距离*/
padding: 0px 3px 0px 2px;/*上右下左*/
float: left;
}
.search2{
width: 50px;
height: 36px;
border:0 none;
font-size: 18px;
float: right;
outline:none;
}
.top4{
width: 290px;
height: 90px;
line-height: 90px;
float: right;
}
.nav1{
font-size: 16px;
text-decoration: none;
color: black;
}
.nav2{
margin:0px 10px 0px 20px ;
padding: 12px;
color: white;
font-size: 14px;
background-color:rgb(49, 194, 124);
text-decoration: none;
}
.nav3{
padding: 12px;
border: 1px solid #c9c9c9;
font-size: 13px;
text-decoration: none;
color: black;
}
.nav1:hover{
color:rgb(49, 194, 124);
text-decoration: none;
}
.nav2:hover{
background-color: rgb(42, 168, 107);
text-decoration: none;
}
.nav3:hover{
background-color: #e9e9e9;
text-decoration: none;
}
.under nav{
padding-left: 228px;
margin-top: -10px;
}
.under nav a{
font-size: 15px;
text-decoration: none;
line-height: 51px;
padding-right:28px;
color:black;
}
.under nav a:hover{
color:rgb(49, 194, 124);
}
.under1{
color: rgb(49, 194, 124)!important;
}
.hzy{
width: 100%;
height: 20px;
}
.xdh{
width:20%;
height:1000px;
float: left;
margin-top: 10px;
}
.nr{
width: 80%;
height: 100%;
float: left;
margin-top:10px;
}
.xdh ul li a{
text-decoration: none;
font-size: 15px;
color: black;
}
.xdh ul li {
margin-top: 50px;
text-align: center;
}
.xdh ul li a:hover{
color: lightgreen;
}
.diantai{
width: 1500px;
height: 4000px;
float: left;
margin-top: 10px;
}
.dtBox{
width: 100%;
height: 1700px;
}
.dtBox dl{
width:300px;
height: 400px;
float: left;
margin-left: 14px;
}
.dtBox dl dt{
width: 300px;
height:300px;
}
.dtBox dl dt img{
width:300px;
height:300px;
}
.dtBox dl dd{
margin-top: 15px;
}
.shangwuBox{
width: 100%;
height:500px;
float: left;
}
.shangwuBox dl{
width:300px;
height: 500px;
float: left;
margin-left: 14px;
}
.shangwuBox dl dt{
width: 300px;
height:300px;
/*margin-left: 30px;*/
}
.shangwuBox dl dt img{
width:300px;
height:300px;
margin-left: 30px;
}
.shangwuBox dl dd{
margin-top: 15px;
}
.xinqingBox{
width: 100%;
height: 900px;
float: left;
}
.xinqingBox dl{
width:300px;
height: 400px;
float: left;
margin-left: 14px;
}
.xinqingBox dl dt{
width: 300px;
height:300px;
}
.xinqingBox dl dt img{
width:300px;
height:300px;
}
.xinqingBox dl dd{
margin-top: 15px;
}
.zhutiBox{
width: 100%;
height: 900px;
float: left;
}
.zhutiBox dl{
width:300px;
height: 400px;
float: left;
margin-left: 14px;
}
.zhutiBox dl dt{
width: 300px;
height:300px;
}
.zhutiBox dl dt img{
width:300px;
height:300px;
}
.zhutiBox dl dd{
margin-top: 15px;
}
.changjingBox{
width: 100%;
height: 900px;
float: left;
}
.changjingBox dl{
width:300px;
height: 400px;
float: left;
margin-left: 14px;
}
.changjingBox dl dt{
width: 300px;
height:300px;
}
.changjingBox dl dt img{
width:300px;
height:300px;
}
.changjingBox dl dd{
margin-top: 15px;
}
.dtName{
width: 100%;
font-size: 15px;
margin-left: 30px;
}
.dtLisen{
width: 100%;
font-size: 15px;
color: gray;
margin-left: 30px;
}
.footer{
width: 100%;
height: 589px;
position: absolute;
left: 10px;
top: 5150px;
}
.i{
font-style: italic;
}
.section_inner {
max-width: 1200px;
position: relative;
}
.footer{
color: #000;
background-color: #333;
clear: both;
}
/*.main::after,.section_inner::after{
content:" ";
display: block;
clear: both;
}*/
.footer a{
color: #999;
text-decoration: none;
}
.footer_info{
overflow: hidden;
border-bottom: 1px solid #353535;
position: relative;
padding-bottom: 45px;
width: 1200px;
height: 457px;
}
.footer_download{
position: absolute;
top: 0;
left: 10px;
width: 400px;
height: 229px;
float: left;
}
.footer_product {
position: absolute;
top: 0;
left: 476px;
width: 304px;
height: 300px;
float: left;
}
.footer_link{
float: right;
padding-bottom: 57px;
width: 300px;
height: 337px;
}
.footer_platform{
/* width: 1190px;
height: 148px;
!*background-color: #9d9d9d;*!
float:left;*/
margin: 230px 0 0 10px;
}
.footer_copyright{
width: 1200px;
height: 132px;
text-align: center;
line-height: 28px;
font-size: 12px;
}
.h3{
display: block;
font-size: 1.17cm;
-webkit-margin-before:1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0;
-webkit-margin-end: 0;
font-weight: bold;
}
.footer_tit{
font-size: 15px;
font-weight: 400;
padding: 80px 0 46px;
}
.footer_download_list{
margin-left: -29px;
}
.footer_download_list_item {
float: left;
text-align: center;
position: relative;
}
.footer ul li a:hover{
color: #31C37C;
text-decoration: none;
}
.footer h3{
color: #999;
}
.footer p a{
color: #999;
text-decoration: none;
}
.footer p a:hover{
color: #31C37C;
}
.li{
list-style: none;
display: list-item;
}
.li a{
text-decoration: none;
}
.icon_txt{
font: 0/0 a;
}
.icon_qm_pc {
width: 37px;
background-position: -2px 0;
}
.icon_qm_pc:hover {
background-position: -2px -50px;
}
.icon_qm_mac:hover{
background-position: -92px -50px;
}
.icon_qm_iphone:hover{
background-position: -279px -50px;
}
.icon_qm_android:hover{
background-position: -190px -50px;
}
.icon_qm_kg:hover{
background-position: -370px -50px;
}
.icon_qm_ss:hover{
background-position: -463px -50px;
}
.icon_qm_qp:hover{
background-position: -563px -50px;/*-49 -50*/
}
.icon_qm_mac{
width: 46px;
background-position: -92px 0;
}
.icon_qm_android {
width: 37px;
background-position: -190px 0;
}
.icon_qm_iphone {
width: 34px;
background-position: -279px 0;
}
.icon_qm_android,.icon_qm_iphone,.icon_qm_mac,.icon_qm_pc,.icon_qm_kg,.icon_qm_qp,.icon_qm_ss{
display: block;
margin: 0 29px 12px;
width: 48px;
height: 48px;
background-image:url("../images/footer.png");
}
/*.icon_qm_pc:hover::before{
content: " ";
position: absolute;
z-index: 1;
width: 48px;
height: 48px;
left: 28px;
background-image: url("../images/footer.png");
background-position: 0 -50px;
}*/
.footer_product_list {
margin-left: -25px;
}
.footer_product_list__item--pic {
text-align: center;
position: relative;
margin-right: 0;
text-indent: 0;
}
.footer_product_list__item{
float: left;
margin-bottom: 18px;
text-indent: 25px;
margin-right:5px;
}
.icon_qm_kg{
width: 41px;
background-position: -370px 0;
}
.icon_qm_ss{
width: 37px;
background-position: -463px 0;
}
.icon_qm_qp{
margin-right: 23px;
width: 40px;
background-position: -563px 0;
}
.footer_link_list__item{
float: left;
min-width: 100px;
margin-bottom: 12px;
}
.footer_platform_list{
margin-left: -25px;
}
.footer_platform_list__item{
float: left;
min-width: 100px;
margin: 0 5px 12px 0;
text-indent: 25px;
}
.F{
width: 1910px;
height: 589px;
}
剩余界面源码及项目中所使用图片文件等请参考我们的工程文件:
链接: https://pan.baidu.com/s/1iZ9KBoA0ajg7eGrTGxX61g 提取码: tfkz
RAR版本:
链接: https://pan.baidu.com/s/1eiENnKP7wbHZZ1g8zCnHhg 提取码: pjis (推荐使用)
用html写QQ音乐首页,使用HTML5仿制的QQ音乐PC版界面相关推荐
- html制作自动切换音乐按钮代码,HTML5+JavaScript+CSS实现音乐播放器——难点二:自己设计一个控制音乐播放的控制器...
我们都知道HTML5给我们提供了"controls"这个插件,可是这个插件却比较丑,还不能实现上一首下一首的播放,以及进度条的手动改变等功能,那么如何自己设计一个控制音乐播放的控制 ...
- QQ浏览器 不支持html5,如何解决qq浏览器插件显示不了问题
我们在使用qq浏览器的过程中,偶尔会出现插件显示不了的问题,如果出现了这样的问题,我们应该如何解决呢?下面就让学习啦小编告诉你解决qq浏览器插件显示不了的方法,希望对大家有所帮助. 解决qq浏览器插件 ...
- qq批量登录软件_把微信PC版越甩越远!QQ电脑版这些新功能太良心
自从有了手机QQ,小编都不怎么打开PC版QQ了.不过PC版QQ并没有停下更新的步伐,最近QQ PC版发布了9.4.1新版,加入了很多值得点赞的附加功能.对比起隔壁功能万年半残的微信PC版,这可良心多了 ...
- qq批量登录软件_把微信PC版越甩越远:QQ电脑版这些新功能太良心
来源:太平洋电脑网 自从有了手机QQ,小编都不怎么打开PC版QQ了.不过PC版QQ并没有停下更新的步伐,最近QQ PC版发布了9.4.1新版,加入了很多值得点赞的附加功能. 对比起隔壁功能万年半残的微 ...
- html5中音乐播放器怎么写,打造属于自己的音乐播放器 HTML5之audio标签
我的音乐播放器 HTML5中增加了Audio和Video标签,这两个标签的用法非常相似.功能却是相当强大,我们先来看一下Audio标签各个浏览器的支持情况.这里用的依然是Can I Use这个在线网站 ...
- HTML5期末大作业:音乐网站设计——风车乐栈在线音乐播放HTML+CSS
HTML5期末大作业:音乐网站设计--风车乐栈在线音乐播放HTML+CSS 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头大?HTML网页作业无从下手?网页要求的总数量太多?没有合 ...
- html语言音乐添加路径,HTML5简单实现添加背景音乐的几种方法
这里推荐两种方法,就是两个标签 或者 常用 +css布局 隐藏播放器 做网站比较实用! html5添加音乐 说明: 1.src毫无疑问写路径. 2.使用hidden="true"表 ...
- CSS——网易云音乐首页之榜单区域的实现
文章目录 前言 一.结构的布局 1.示例图 2.结构分析 二.实现过程 1.HTML结构 2.CSS样式 总结 前言 本文主要介绍了网易云音乐首页榜单区域的实现过程. 一.结构的布局 示例图: 结构分 ...
- html网页底部代码实例,HTML网页头部代码实例详解H 这个首页的html5网站
这个首页的html5网站设计代码(尤其是头部那登录注首先先说一下HTML5的代码只是在原有的XHTML基础上增加了一些新的标签(还有一些新的特性,例如数据库和缓存等特性) 以下为此页面的结构代码: 页 ...
最新文章
- List赋值到另一个List的方法C#
- 使用PhoneGap开启移动开发之旅
- Vijos1404遭遇战[最短路建模]
- 引入jQuery后$冲突的解决办法
- 神经张量网络:探索文本实体之间的关系
- 【IT资讯】Linus Torvalds:我们都老了,但Linux维护真的很难找
- 第一个冲刺期的第九天
- bpcs uploader.php,linux 备份定时同步到百度云盘
- 百度地图API实现地图应用
- 罗永浩宣布要做带货一哥后,合作单子如雪花般飞来
- Spark MLlib垃圾邮件分类示例
- 大数据分析有什么特点
- 推荐15款免费的网页抓取软件
- 介绍兴趣爱好的网页html,介绍兴趣爱好的作文5篇
- 苹果电脑各型号支持的macOS版本列表
- 谷歌地图api的使用 一
- 队列的应用--火车车厢重排列
- iOS 九年,技术迭代迅捷下如何保持核心竞争力?
- python小游戏——猜单词游戏(Hangman)
- solr mysql 全文搜索_全文检索Solr集成HanLP中文分词