123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975 |
- @charset "utf-8";
- /**************************************************
- * MKOnlinePlayer v2.41
- * 播放器样式表文件
- * 编写:mengkun(https://mkblog.cn)
- * 时间:2018-3-13
- *************************************************/
- blockquote, body, button, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, hr, html, input, lengend, li, ol, p, pre, td, textarea, th, ul {
- margin: 0;
- padding: 0
- }
- img{width:100px; height:100px; border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;}
- body, button, input, select, textarea, th {
- color: #2fb3ff;
- background-color: #fff;
- font-size: 14px;
- line-height: 1.5;
- font-family: poppin, 'PingFang SC', Tahoma, Arial, \5FAE\8F6F\96C5\9ED1, sans-serif;
- font-family: Tahoma, Arial, \5FAE\8F6F\96C5\9ED1, sans-serif/9
- }
- h1, h2, h3, h4, h5, h6 {
- font-size: 100%
- }
- li {
- list-style: none
- }
- img {
- border: 0 none;
- -ms-interpolation-mode: bicubic;
- image-rendering: optimizeQuality
- }
- input[type=button], input[type=submit] {
- cursor: pointer
- }
- button {
- cursor: pointer
- }
- table {
- border-collapse: collapse;
- border-spacing: 0
- }
- a {
- color: #333;
- text-decoration: none
- }
- a:hover {
- color: #31c27c;
- text-decoration: none
- }
- a:focus, button:focus, input:focus {
- outline: 0
- }
- .text-center {text-align: center;}
- .clear-fix {zoom: 1;}
- .clear-fix:before, .clear-fix:after {display: table;line-height: 0;content: "";}
- .clear-fix:after {clear: both; }
- .hidden {display: none !important;}
- /* 彩色主题颜色 */
- /* 图片中间圆点 */
- .centerCircle {
- width: 30px;
- height: 30px;
- position: absolute;
- top: 39%;
- margin-left: 73px;
- border-radius: 50%;
- background: #b3b3b3;
- border: 5px solid #fff;
- opacity: 0.4;
- }
- /*滚动条美化*/
- .mCSB_container::-webkit-scrollbar{width:0;height:0}
- #lyric::-webkit-scrollbar{width:0;height:0}
- html,body{
- height: 100%;
- width: 100%;
- background-color: #777970;
- overflow: hidden;
- }
- body {
- /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ba43a8+0,ea4fce+62,537bad+100&0.38+0,0.17+61,0.8+100 */
- /* IE9 SVG, needs conditional override of 'filter' to 'none' */
- background: linear-gradient(312deg,#e9defa 0,#fbfcdb 100%);
- /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff');
- background-image: -webkit-linear-gradient(200deg, #ffffff, #ffffff);
- background-image: -moz-linear-gradient(200deg, #ffffff, #ffffff);
- background-image: -o-linear-gradient(200deg, #ffffff, #ffffff);
- background-image: -ms-linear-gradient(200deg, #ffffff, #ffffff);
- background-image: linear-gradient(200deg, #ffffff, #ffffff);
- overflow: hidden;
- background: url(../images/beijing.jpg);
- background-size: 100% 100%;*/
- }
- /* 模糊图像层 */
- #blur-img {
- position: fixed;
- height: 100%;
- left: -10%;
- width: 120%;
- overflow: hidden;
- }
- /* 移动端使用的模糊图像层 */
- #mobile-blur {
- -webkit-filter: blur(50px);
- filter: blur(50px);
- -webkit-transform: scale(1.15);
- transform: scale(1.15);
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- z-index: 1;
- width: 100%;
- background-size: cover;
- background-position: bottom center;
- }
- /* 图像遮罩层 */
- .blur-mask {
- display: none;
- position: absolute;
- width: 100%;
- height: 100%;
- background-color: #000;
- filter:alpha(opacity=30);
- -moz-opacity:0.3;
- opacity:0.3;
- top: 0;
- left: 0;
- overflow: hidden;
- }
- .mobile-mask {
- filter:alpha(opacity=60);
- -moz-opacity:0.6;
- opacity:0.6;
- }
- #mkplayer{
- display: none;
- }
- .header {
- height: 50px;
- position: absolute;
- }
- .logo {
- transition: all 0.25s ease;
- -webkit-transition: all 0.25s ease;
- -moz-transition: all 0.25s ease;
- -o-transition: all 0.25s ease;
- -ms-transition: all 0.25s ease;
- display: inline-block;
- font-size: 23px;
- color: #829194;
- cursor: pointer;
- margin: 10px 20px;
- }
- .logo:hover {
- color: #fff;
- }
- /* 宽度约束容器 */
- .container{
- position: relative;
- width: 100%;
- height: 100%;
- max-width: 1200px;
- margin: 0 auto;
- }
- /* 中部主要容器 */
- .center{
- position: absolute;
- width: 100%;
- top: 20px;
- bottom: 100px;
- }
- /* 顶部按钮条 */
- .btn-bar {
- position: absolute;
- display: inline-block;
- left: 0;
- right: 400px;
- height: 55px;
- }
- /* 顶部按钮区域 */
- .btn-box {
- position: absolute;
- top: 10px;
- bottom: 10px;
- left: 10px;
- right: 10px;
- }
- /* 常规按钮 */
- .btn {
- transition: all 0.25s ease;
- -webkit-transition: all 0.25s ease;
- -moz-transition: all 0.25s ease;
- -o-transition: all 0.25s ease;
- -ms-transition: all 0.25s ease;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- display: inline-block;
- position: relative;
- border-radius: 30px;
- border: 1px solid #18b4ed;
- border: 1px solid rgba(150,150,150,.5);
- color: #18b4ed;
- opacity: .8;
- filter: alpha(opacity=80);
- cursor: pointer;
- font-size: 14px;
- padding: 6px 25px;
- margin: 0 2px;
- box-shadow: -1px 5px 6px rgb(150, 217, 241);
- }
- .btn:hover {
- border: 1px solid #18b4ed;
- opacity: 1;
- filter: alpha(opacity=100);
- }
- .btn[data-action='player'] {
- display: none;
- }
- /* 搜索工具样式 */
- #search-area {
- padding: 25px 15px;
- }
- .search-group {
- font-size: 0;
- padding-bottom: 10px;
- }
- .search-group>input, .search-group>button {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- .radio-group>label {
- margin-right: 10px;
- cursor: pointer;
- }
- .radio-group>label>input {
- vertical-align: -2px;
- }
- /*搜索*/
- .radio-group {
- margin-left: -15px;
- margin-bottom: -35px;
- }
- .search-group>input {
- color: #555;
- border: 2px solid #fff;
- background: #fff;
- transition: .3s linear;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
- padding: 5px;
- border-radius: 20px;
- height: 35px;
- width: 100%;
- }
- .search-group>button {
- border:none;
- }
- .search-group span {
- position: fixed;
- font-size: 20px;
- margin-left: -33px;
- margin-top: -18px;
- width: 25px;
- height: 25px;
- background: url(../images/sou.png);
- background-size: 100% 100%;
- }
- .leo-img {
- border-radius:10px;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
- width: 30px;
- height: 30px;
- padding-top:0px;
- position: absolute;
- margin-top: -2px;
- }
- /*搜索选中*/
- .leo-label {
- -webkit-tap-highlight-color: transparent;
- margin:15px 30px;
- display:inline-block
- }
- .leo-radio {
- display:none
- }
- .leo-radioInput {
- background-color:#fff;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
- border-radius:100%;
- display:inline-block;
- height:16px;
- margin-right:10px;
- margin-top:-1px;
- vertical-align:middle;
- width:16px;
- line-height:1
- }
- .leo-radio:checked + .leo-radioInput:after {
- background: linear-gradient(to left, #fa6567 0, #fa8587 100%);
- box-shadow: 0 2px 6px rgba(228, 63, 66, 0.2);
- border-radius:100%;
- content:"";
- display:inline-block;
- height:12px;
- margin:2px;
- width:12px
- }
- /* 左侧主体数据区 */
- .data-area {
- position: absolute;
- left: 0;
- right: 400px;
- top: 60px;
- bottom: 0;
- overflow: hidden;
- }
- /* 数据区域容器 */
- .data-box {
- position: absolute;
- left: 10px;
- right: 10px;
- top: 10px;
- bottom: 10px;
- overflow-y: auto;
- }
- /*以下是播放列表 css 样式*/
- /* 列表头 */
- .list-head {
- height: 40px;
- }
- /* 一项数据 */
- .list-item {
- width: 100%;
- height: 40px;
- line-height: 40px;
- color: #000;
- color: rgb(6, 6, 6);
- font-size: 14px;
- overflow: hidden;
- border-bottom: 1px solid #96d9f1;
- cursor: default;
- position: relative;
- }
- /* 正在播放的那项 */
- .list-playing {
- color: #ff55fa;
- }
- /* 列表数字 */
- .list-num {
- display: block;
- width: 30px;
- text-align: center;
- float: left;
- overflow: hidden;
- }
- /* 正在播放的那项数字 */
- .list-playing .list-num {
- background: url("../images/wave.gif") 10px 20px no-repeat;
- text-indent: -99px;
- }
- /* 音乐名字 */
- .music-name {
- position: relative;
- display: block;
- width: auto;
- margin-left: 40px;
- margin-right: 300px;
- height: 100%;
- -webkit-user-select: none;
- -moz-user-select: none; /*禁止双击选定*/
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- }
- /* 鼠标滑过时音乐名字被截断 */
- .music-name-cult {
- display: block;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .list-item:hover .music-name-cult {
- padding-right: 150px;
- }
- .list-playing:hover .music-name-cult {
- padding-right: 100px;
- }
- /* 作者名称与音乐专辑 */
- .auth-name,.music-album {
- position: relative;
- display: block;
- width: 150px;
- float: right;
- height: 100%;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* 移动端的菜单图标 */
- .list-mobile-menu {
- display: none;
- }
- /*列表中滑动出现的菜单*/
- .list-menu {
- position: absolute;
- right: 10px;
- top: 50%;
- overflow: hidden;
- font-size: 0;
- height: 36px;
- margin-top: -18px;
- float: right;
- display: none;
- }
- .list-item:hover .list-menu {
- display: block;
- }
- .list-head:hover .list-menu {
- display: none;
- }
- /* 列表中滑动出现的小图标 */
- .list-icon {
- display: block;
- width: 36px;
- height: 36px;
- background-image: url("../images/icon_list_menu.png");
- float: left;
- margin-left: 10px;
- cursor: pointer;
- }
- .list-playing .icon-play{
- display: none;
- }
- .icon-play {
- background-position: -80px 0;
- }
- .icon-play:hover {
- background-position: -120px 0;
- }
- .icon-download {
- background-position: -80px -120px;
- }
- .icon-download:hover {
- background-position: -120px -120px;
- }
- .icon-share {
- background-position: -80px -40px;
- }
- .icon-share:hover {
- background-position: -120px -40px;
- }
- /* 分享弹窗中的链接框 */
- .share-url {
- width: 100%;
- margin-top: 10px;
- margin-bottom: 10px;
- line-height: 30px;
- box-sizing: border-box;
- padding: 0 5px;
- border: 1px solid #ccc;
- box-shadow: 1px 1px 5px rgba(0,0,0,.1) inset;
- color: #333;
- height: 35px;
- }
- .share-tips {
- font-size: 12px;
- color: #a9a9a9;
- }
- /* 列表中可以被点击的横条 */
- .list-clickable {
- cursor: pointer;
- }
- /* 以下是歌单 css 样式 */
- /* 歌单中的一项 */
- .sheet-item {
- position: relative;
- display: block;
- width: 25%;
- float: left;
- text-align: center;
- }
- /* 歌单封面 */
- .sheet-cover {
- display: block;
- width: 100px;
- height: 100px;
- margin: 10px auto;
- cursor: pointer;
- }
- /* 正在播放的列表 */
- .sheet-playing:before {
- content: url(../images/wave.gif);
- position: absolute;
- top: 90px;
- left: 50%;
- margin-left: -45px;
- }
- /* 歌单名字 */
- .sheet-name {
- /*padding: 0 5px;*/
- display: inline-block;
- max-width: 120px;
- white-space: nowrap;
- text-overflow: ellipsis;
- -o-text-overflow: ellipsis;
- overflow: hidden;
- margin-bottom: 10px;
- color: #000;
- cursor: pointer;
- font-size: 12px;
- }
- /* 播放列表分割标题栏 */
- .sheet-title-bar {
- margin: 20px 40px;
- color: #fff;
- border-radius: 45px;
- background: linear-gradient(to left, #fa6567 0, #fa8587 100%);
- box-shadow: 0 2px 6px rgba(228, 63, 66, 0.2);
- text-align: center;
- line-height: 40px;
- height: 40px;
- }
- .login-btn {
- cursor: pointer;
- }
- .login-btn:hover {
- color: #31c27c;
- }
- /* 以下是界面右侧 css 样式 */
- /* 播放器主体(歌词和封面) */
- .player {
- height: 98%;
- width: 400px;
- float: right;
- position: relative;
- box-shadow: 0px 0px 6px rgb(150, 217, 241);
- border-radius: 50px;
- }
- /* 歌曲封面区域 */
- .cover {
- /* animation:wml 7s linear infinite;
- -moz-animation:wml 7s linear infinite;
- -webkit-animation:wml 7s linear infinite;
- -o-animation:wml 7s linear infinite
- */
- position: relative;
- display: block;
- width: 186px;
- height: 186px;
- margin: auto;
- top: 10px;
- }
- @keyframes wml {
- to {
- transform:rotate(360deg);
- -ms-transform:rotate(360deg);
- -webkit-transform:rotate(360deg);
- -o-transform:rotate(360deg);
- -moz-transform:rotate(360deg)
- }
- }
- /* 歌曲封面图片 */
- .music-cover {
- vertical-align: middle;
- width: 176px;
- height: 176px;
- }
- /* 歌词显示区域 */
- .lyric {
- position: absolute;
- left: 10px;
- right: 10px;
- top: 195px;
- bottom: 10px;
- overflow: hidden;
- text-align: center;
- color: #18b4ed;
- color: #18b4ed;
- line-height: 28px;
- padding: 20px 0;
- }
- /* 歌词ul */
- #lyric {
- position: absolute;
- width: 100%;
- top: 0;
- bottom: 0;
- overflow: hidden;
- }
- #lyric>li {
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* 正在播放的那一句歌词 */
- #lyric .lplaying {
- background: linear-gradient(to right,#feac5e,#c779d0,#4bc0c8 100%);
- -webkit-background-clip: text;
- color: transparent;
- }
- /* 歌词显示区显示的提示语(如加载中、无歌词等) */
- .lyric-tip {
- position: absolute;
- width: 100%;
- top: 50%;
- }
- /* 歌曲信息按钮 */
- #music-info {
- transition: all 0.25s ease;
- -webkit-transition: all 0.25s ease;
- -moz-transition: all 0.25s ease;
- -o-transition: all 0.25s ease;
- -ms-transition: all 0.25s ease;
- position: absolute;
- width: 27px;
- height: 26px;
- border-radius: 13px;
- right: 10px;
- bottom: 10px;
- cursor: pointer;
- color: #000;
- text-align: center;
- line-height: 26px;
- font-weight: bold;
- background-image: url(../images/player.png);
- background-position: -28px -367px;
- background-color: #FFEB3B;
- opacity: 0.3;
- filter: Alpha(opacity=30);
- }
- #music-info:hover {
- opacity: 1;
- filter: Alpha(opacity=100);
- }
- /* 标题 */
- .info-title {
- color: #B2AFAF
- }
- .info-btn {
- cursor: pointer;
- color: #31c27c;
- }
- .info-btn:hover {
- text-decoration: underline;
- }
- /* 底部 */
- .footer {
- height: 100px;
- bottom: 0;
- width: 100%;
- position: absolute;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
- background: url(../images/dtbj2.gif);
- }
- /* 带图片的按钮 */
- .player-btn {
- background: url(../images/stopm.png);
- opacity: .8;
- filter: alpha(opacity=80)
- }
- .player-btn:hover {
- opacity: 1;
- filter: alpha(opacity=100)
- }
- /* 暂停状态 */
- .btn-state-paused {
- width: 40px;
- height: 40px;
- margin-top: -22px;
- margin-left: -20px;
- background: url(../images/playm.png);
- background-size: 100% 100%;
- }
- /* 控制按钮(上一首、播放、下一首)区域 */
- .con-btn {
- float: left;
- width: 130px;
- height: 106%;
- position: relative;
- margin: 0 10px;
- }
- .con-btn a{
- display: inline-block;
- position: absolute;
- top: 50%;
- }
- .btn-prev{
- width: 36px;
- height: 36px;
- margin-top: -20px;
- margin-left: -8px;
- background: url(../images/prev.png);
- background-size: 100% 100%;
- }
- .btn-xz{
- -webkit-animation: wml 7s linear infinite;
- }
- .btn-play{
- width: 50px;
- height: 50px;
- margin-top: -26px;
- margin-left: -26px;
- background-size: 100% 100%;
- left: 36%;
- }
- .btn-next{
- width: 36px;
- height: 36px;
- margin-top: -20px;
- margin-right: -8px;
- background: url(../images/next.png);
- background-size: 100% 100%;
- right: 30%;
- }
- .btn-order{
- width: 26px;
- height: 26px;
- margin-top: -16px;
- margin-right: 2px;
- background: url(../images/list.png);
- background-size: 100% 100%;
- right: 0;
- }
- .btn-order-single {
- background: url(../images/one.png);
- background-size: 100% 100%;
- }
- .btn-order-random {
- background: url(../images/random.png);
- background-size: 100% 100%;
- }
- /* 音乐进度条区域 */
- .progress {
- width: auto;
- margin-left: 150px;
- margin-right: 200px;
- height: 100%;
- position: relative;
- }
- /* 限制进度条的盒子 */
- .progress-box {
- position: absolute;
- height: 20px;
- left: 10px;
- right: 0;
- top: 50%;
- margin-top: -9px;
- }
- /* 音量控制区域 */
- .vol {
- float: right;
- width: 200px;
- height: 100%;
- right: 0;
- position: relative;
- }
- .quiet {
- width: 60px;
- height: 100%;
- position: relative;
- float: left;
- }
- .btn-quiet{
- display: inline-block;
- position: absolute;
- width: 50px;
- height: 45px;
- margin-top: 27px;
- margin-left: 21px;
- background: url(../images/kai.png);
- background-size: 100% 100%;
- }
- .btn-state-quiet {
- background: url(../images/guan.png);
- background-size: 100% 100%;
- /* background-position: 0 -182px;*/
- }
- .volume {
- position: relative;
- margin-left: 60px;
- height: 100%;
- overflow: hidden;
- }
- /* 限制声音进度条的盒子 */
- .volume-box {
- position: absolute;
- height: 20px;
- left: 10px;
- right: 10px;
- top: 50%;
- margin-top: -10px;
- }
- /* 以下是孟坤进度条控件样式区域 */
- /* 进度条可点击区域 */
- .mkpgb-area {
- position: relative;
- cursor: pointer;
- height: 100%;
- }
- /* 进度条有背景区域 */
- .mkpgb-bar {
- position: absolute;
- top: 50%;
- left: 0;
- right: 0;
- height: 2px;
- margin-top: -1px;
- border-radius: 2px;
- background-color: #000;
- overflow: hidden;
- }
- /* 进度条已完成区域 */
- .mkpgb-cur {
- margin-top: -5px;
- background: linear-gradient(to right,#FFEB3B,#FF5722,#FFEB3B 100%);
- box-shadow: 0 2px 6px rgba(216,137,172,0.2);
- }
- .mkpgb-cur {
- position: absolute;
- width: 0;
- height: 2px;
- top: 50%;
- margin-top: -1px;
- border-radius: 2px;
- transition: all 0.25s ease;
- -webkit-transition: all 0.25s ease;
- -moz-transition: all 0.25s ease;
- -o-transition: all 0.25s ease;
- -ms-transition: all 0.25s ease;
- }
- /* 进度条小点 */
- .mkpgb-dot {
- width: 10px;
- height: 10px;
- background-color: #18b4ed;
- border-radius: 5px;
- overflow: hidden;
- position: absolute;
- left: 0px;
- margin-left: -5px;
- top: 50%;
- margin-top: -5px;
- transition: all 0.25s ease;
- -webkit-transition: all 0.25s ease;
- -moz-transition: all 0.25s ease;
- -o-transition: all 0.25s ease;
- -ms-transition: all 0.25s ease;
- }
- /* 进度条禁止点击样式 */
- .mkpgb-locked {
- cursor: default;
- }
- /* 闪动效果作者:qiuye */
- .dot-move {
- -webkit-box-shadow: 0 0 20px #fff;
- -moz-animation: dot-move 3s linear 2s infinite;
- -webkit-animation: dot-move 3s linear 2s infinite;
- -o-animation: dot-move 3s linear 2s infinite;
- -ms-animation: dot-move 3s linear 2s infinite;
- }
- @-webkit-keyframes dot-move{0%{-webkit-box-shadow: 0 0 20px #fff;}25%{-webkit-box-shadow: 0 0 10px #fff;}50%{-webkit-box-shadow: 0 0 0px #fff;}75%{-webkit-box-shadow: 0 0 10px #fff;}100%{-webkit-box-shadow: 0 0 20px #fff;}}
- @keyframes dot-move{0%{-webkit-box-shadow: 0 0 10px #363333;}25%{-webkit-box-shadow: 0 0 7px #363333;}50%{-webkit-box-shadow: 0 0 0px #fff;}75%{-webkit-box-shadow: 0 0 6px #fff;}100%{-webkit-box-shadow: 0 0 10px #363333;}}
- /*呼吸灯效果*/
- img {
- border:none;
- }
- ol,ul {
- list-style:none;
- }
- em {
- font-style:normal;
- }
- a {
- text-decoration:none;
- }
- .clearfix {
- #zoom:1;
- }
- .clearfix:after {
- content:' ';
- display:block;
- height:0;
- clear:both;
- color:#fff;
- }
- .breathe-btn {
- /*position:relative;
- width:100px;
- height:10px;
- margin:40px auto;
- line-height:40px;
- border:1px solid #2b92d4;
- border-radius:5px;
- color:#fff;
- font-size:20px;
- text-align:center;
- cursor:pointer;
- box-shadow:0 1px 2px rgba(0,0,0,.3);
- overflow:hidden;
- background-image:-webkit-gradient(linear,left top,left bottom,from(#6cc3fe),to(#21a1d0));*/
- -webkit-animation-timing-function:ease-in-out;
- -webkit-animation-name:breathe;
- -webkit-animation-duration:2700ms;
- -webkit-animation-iteration-count:infinite;
- -webkit-animation-direction:alternate;
- }
- @-webkit-keyframes breathe {
- /*0% {
- opacity:.2;
- box-shadow:0 1px 2px rgba(255,255,255,0.1);
- }*/
- 100% {
- opacity:1;
- /*border:1px solid rgba(59,235,235,1);*/
- box-shadow:0 1px 30px rgba(59,255,255,1);
- }
- }
|