audioplayer实现一个响应式且支持触摸操作音频播放器效果代码
代码语言:html
所属分类:多媒体
代码描述:audioplayer实现一个响应式且支持触摸操作音频播放器效果代码
代码标签: 响应 式且 支持 触摸 操作 音频 播放器 效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="Demo of Audio Player: Responsive and Touch-friendly" />
<meta name="robots" content="all">
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">
<style>
html
{
font-size: 100%;
}
body
{
font-family: 'Noticia Text', serif;
font-weight: 400;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body,
a,
a:hover
{
color: #111;
}
a
{
-webkit-transition: color .3s ease;
-moz-transition: color .3s ease;
-ms-transition: color .3s ease;
-o-transition: color .3s ease;
transition: color .3s ease;
}
a,
a:hover
{
text-decoration: none;
}
/*
AD
*/
#ad
{
width: 150px;
background-color: #fff;
background-color: rgba( 255, 255, 255, .5 );
overflow: hidden;
position: fixed;
z-index: 1000;
top: 10px;
left: 10px;
padding: 10px;
}
#ad.dark
{
background-color: #111;
background-color: rgba( 0, 0, 0, .5 );
}
#bsap_aplink
{
width: 100%;
font-size: 14px;
font-family: 'Cabin Condensed', sans-serif;
font-weight: 500;
text-transform: uppercase;
color: #999;
color: rgba( 0, 0, 0, .25 );
display: block;
margin-bottom: 10px;
}
#bsap_aplink:hover
{
color: #111;
}
#ad.dark #bsap_aplink
{
color: #555;
color: rgba( 255, 255, 255, .25 );
}
#ad.dark #bsap_aplink:hover
{
color: #fff;
}
body .one .bsa_it_ad,
body .one .bsa_it_ad *
{
background-color: transparent !important;
position: static !important;
z-index: 1 !important;
}
body .one .bsa_it_ad
{
font-family: 'Noticia Text', serif;
border: none;
padding: 0;
margin: 0;
}
body .one .bsa_it_ad .bsa_it_i,
body .one .bsa_it_ad .bsa_it_t,
body .one .bsa_it_ad .bsa_it_d
{
width: 100%;
display: block;
padding: 0;
margin: 0;
}
body .one .bsa_it_ad .bsa_it_t,
body .one .bsa_it_ad .bsa_it_d
{
font-size: 14px;
line-height: 1.75;
color: #555;
color: rgba( 0, 0, 0, .75 );
}
body .one .bsa_it_ad .bsa_it_i
{
margin-bottom: 10px;
}
body .one .bsa_it_ad .bsa_it_t
{
font-weight: 700;
}
#ad.dark .bsa_it_ad .bsa_it_t,
#ad.dark .bsa_it_ad .bsa_it_d
{
color: #bbb;
color: rgba( 255, 255, 255, .75 );
}
bod.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0