1 Star 0 Fork 0

DNZQ/music-player

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.css 8.97 KB
一键复制 编辑 原始数据 按行查看 历史
DNZQ 提交于 2021-05-20 12:40 . 上传一下之前学习的jquery
*{
margin: 0;
padding: 0;
}
.head{
width: 100%;
height: 45px;
line-height: 45px;
}
.head img{
width: 78px;
height: 21px;
display: inline-block;
margin-left: 10px;
opacity: 0.5;
}
.head img:hover{
opacity: 1;
}
.head ul{
list-style: none;
float: right;
}
.head ul li{
font-size: 16px;
float: left;
color: white;
margin-right: 20px;
opacity: 0.5;
}
.head li:hover{
opacity: 1;
}
.content{
width: 100%;
height: 590px;
}
.content .content_in{
width: 1200px;
height: 100%;
margin: 0 auto;
}
.content .content_left{
width: 800px;
height: 100%;
float: left;
}
.content_left .tool_nav{
width: 100%;
height: 40px;
}
.tool_nav ul{
list-style: none;
}
.tool_nav ul li {
float: left;
width: 135px;
height: 100%;
border: 1px solid white;
border-radius: 5px;
opacity: 0.5;
margin-left: 15px;
color: white;
line-height: 40px;
text-align: center;
}
.tool_nav ul li span{
display: inline-block;
width: 20px;
height: 20px;
margin-right: 10px;
vertical-align: -5px;
}
.tool_nav ul li:hover{
opacity: 1;
}
.tool_nav li:nth-child(1) span{
background:url("images/shouchang.svg") no-repeat 0 0;
background-size: 100%;
}
.tool_nav li:nth-child(2) span{
background:url("images/xiazai.svg") no-repeat 0 0;
background-size: 100%;
}
.tool_nav li:nth-child(3) span{
background:url("images/tianjia.svg") no-repeat 0 0;
background-size: 100%;
}
.tool_nav li:nth-child(4) span{
background:url("images/shanchu.svg") no-repeat 0 0;
background-size: 100%;
}
.tool_nav li:nth-child(5) span{
background:url("images/qingkong.svg") no-repeat 0 0;
background-size: 100%;
}
.content .tool_list{
width: 100%;
height: 500px;
overflow: auto;
}
.tool_list ul{
list-style: none;
}
.tool_list ul li{
width: 100%;
height: 50px;
color: white;
line-height: 50px;
text-align: center;
opacity: 0.5;
border-bottom: 1px dashed white;
box-sizing: border-box;
user-select: none;
}
.tool_list ul li:hover{
opacity: 1;
}
.tool_list .list_head{
width: 100%;
height: 50px;
color: white;
line-height: 50px;
text-align: center;
}
.tool_list div{
float: left;
}
.list_chec{
width: 50px;
height: 50px;
/* background: red; */
margin-left: 10px;
}
.chec_true{
background: url("images/xuanzhong.svg") no-repeat 0 0;
background-size: 100%;
}
.list_chec span{
display: inline-block;
width: 20px;
height: 20px;
border: 1px solid white;
box-sizing: border-box;
vertical-align: -3px;
}
.list_number{
width: 20px;
height: 50px;
}
.list_number2{
background: url("images/wave.gif") no-repeat center center;
color: transparent;
}
.list_name{
width: 400px;
height: 50px;
position: relative;
}
.list_name span{
float: left;
margin-left: 20px;
}
.name_meau{
width: 200px;
height: 50px;
/* background:red; */
position: absolute;
right: 10px;
margin-top: 8px;
display: none;
}
.name_meau a{
display: inline-block;
width: 30px;
height: 30px;
opacity: .5;
}
.name_meau a:hover{
opacity: 1;
}
.name_meau a:nth-child(1){
background: url("images/bofang2.svg") no-repeat 0 0;
background-size: 100%;
}
.name_meau a:nth-child(2){
background: url("images/tianjia.svg") no-repeat 0 0;
background-size: 100%;
}
.name_meau a:nth-child(3){
background: url("images/xiazai.svg") no-repeat 0 0;
background-size: 100%;
}
.name_meau a:nth-child(4){
background: url("images/fenxiang.svg") no-repeat 0 0;
background-size: 100%;
}
.name_meau_play2{
width: 32px !important;
height: 32px !important;
background: url("images/zanting2.svg") no-repeat 0 0 !important;
background-size: 100% !important;
}
.list_singer{
width: 160px;
height: 50px;
position: relative;
}
.list_singer a{
display: inline-block;
width: 30px;
height: 30px;
background: url("images/shanchu.svg") no-repeat 0 0;
background-size: 100%;
vertical-align: -8px;
display: none;
position: absolute;
left: 80px;
margin-left: -15px;
top: 8px;
opacity: .5;
}
.list_singer a:hover{
opacity: 1;
}
.list_timer{
width: 130px;
height: 50px;
}
.content .content_right{
width: 400px;
height: 100%;
float: right;
text-align: center;
user-select: none;
}
.content_right .song_info{
display: inline-block;
width: 201px;
height: 180px;
background: url("images/album_cover_player.png") no-repeat 0 0;
background-size: 100%;
}
.song_xinxi{
margin-top: 30px;
}
.song_xinxi div{
margin-top: 10px;
color: white;
}
.song_xinxi a{
text-decoration: none;
font-size: 14px;
opacity: 0.5;
color: white;
}
.song_xinxi a:hover{
opacity: 1;
}
.song_info a{
display: inline-block;
width: 180px;
height: 180px;
background: url("images/lnj.jpg") no-repeat 0 0;
background-size: 100%;
}
.song_lyric{
list-style: none;
margin-top: 30px;
color: white;
}
.song_lyric li{
margin-top: 10px;
opacity: 0.5;
}
.song_lyric li:hover{
opacity: 1;
}
.footer{
width: 100%;
height: 80px;
position: absolute;
bottom: 0;
left: 0;
}
.footer .footer_in{
width: 1200px;
height: 100%;
margin: 0 auto;
user-select: none;
}
.footer_in a{
display: inline-block;
text-decoration: none;
color: white;
margin-left: 15px;
}
.music_progress{
display: inline-block;
width: 611px;
height: 45px;
/* vertical-align: 10px; */
}
.music_top{
height: 30px;
width: 100%;
line-height: 30px;
color: white;
}
.music_name{
float: left;
opacity: .5;
}
.music_name:hover{
opacity: 1;
}
.music_progress_music{
float: right;
margin-right: 17px;
}
.music_progress_line{
width: 100%;
height: 2px;
background: rgba(255, 255, 255, .5);
position: relative;
margin-top: 8px;
cursor: pointer;
}
.music_progress_load{
width: 0px;
height: 100%;
position: absolute;
background: white;
}
.music_progress_play{
width: 10px;
height: 10px;
border-radius: 50%;
background: white;
position: absolute;
left: 0px;
top: -4px;
}
.music_pre{
width: 40px;
height: 40px;
background: url("images/pre.svg") no-repeat 0 0 ;
background-size: 100%;
}
.music_play{
width: 50px;
height: 50px;
background: url("images/bofang2.svg") no-repeat 0 0 ;
background-size: 100%;
vertical-align: -5px;
}
.music_play2{
width: 50px;
height: 50px;
background: url("images/zanting2.svg") no-repeat 0 0 ;
background-size: 100%;
vertical-align: -5px;
}
.music_next{
width: 40px;
height: 40px;
background: url("images/netx2.svg") no-repeat 0 0 ;
background-size: 100%;
}
.music_xunhuan{
width: 25px;
height: 25px;
background: url("images/xunhuan.svg") no-repeat 0 0 ;
background-size: 100%;
}
.music_love{
width: 25px;
height: 25px;
background: url("images/shouchang.svg") no-repeat 0 0 ;
background-size: 100%;
}
.music_love{
width: 25px;
height: 25px;
background: url("images/love2.svg") no-repeat 0 0 ;
background-size: 100%;
}
.music_xiazai{
width: 25px;
height: 25px;
background: url("images/xiazai.svg") no-repeat 0 0 ;
background-size: 100%;
}
.music_pinglun{
width: 25px;
height: 25px;
background: url("images/pinglun.svg") no-repeat 0 0 ;
background-size: 100%;
vertical-align: -5px;
}
.music_chunjing{
width: 50px;
height: 40px;
background: url("images/kai.svg") no-repeat 0 0 ;
background-size: 100%;
vertical-align: -17px;
}
.music_chunjing2{
width: 50px;
height: 40px;
background: url("images/guan.svg") no-repeat 0 0 ;
background-size: 100%;
vertical-align: -17px;
}
.voice{
display: inline-block;
width: 120px;
height: 45px;
position: relative;
margin-left: 25px;
top: 13px;
}
.voice_big{
width: 25px;
height: 25px;
background: url("images/yingliang.svg") no-repeat 0 0;
background-size: 100%;
position: absolute;
left: -15px;
top: 10px;
}
.voice_big2{
background: url("images/jingyin.svg") no-repeat 0 0;
background-size: 100%;
}
.voice_line{
display: inline-block;
height: 2px;
width: 80px;
background: rgba(255, 255, 255, .5);
position: absolute;
left: 35px;
top: 22px;
cursor: pointer;
}
.voice_load{
position: absolute;
width: 100%;
height: 100%;
background: white;
}
.voice_play{
width: 10px;
height: 10px;
border-radius: 50%;
background: white;
position: absolute;
left: 100%;
top: -4px;
}
.mask_bg{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: url("images/lnj.jpg") no-repeat 0 0;
background-size: cover;
filter: blur(100px);
z-index: -2;
}
.mask{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background:rgba(0, 0, 0, 0.35);
z-index: -1;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/z1070911992/music-player.git
git@gitee.com:z1070911992/music-player.git
z1070911992
music-player
music-player
main

搜索帮助