python条形图的动画显示水能时钟_水波动画背景的时钟界面

CSS

语言:

CSSSCSS

确定

html,

body {

height: 100%;

}

html {

background: #00BCD4;

overflow: hidden;

}

body {

display: -webkit-box;

display: -webkit-flex;

display: -ms-flexbox;

display: flex;

-webkit-box-pack: center;

-webkit-justify-content: center;

-ms-flex-pack: center;

justify-content: center;

-webkit-box-align: center;

-webkit-align-items: center;

-ms-flex-align: center;

align-items: center;

}

.box {

width: 350px;

height: 600px;

border-radius: 5px;

box-shadow: 9px 10px 47px 2px rgba(0, 0, 0, 1.0);

background: #1A237E;

position: relative;

overflow: hidden;

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

}

.wave {

opacity: 1;

position: absolute;

left: 50%;

background: #0277BD;

width: 500px;

height: 600px;

margin-left: -250px;

border-radius: 43%;

}

#waveone {

-webkit-animation: drift 3000ms infinite linear;

animation: drift 3000ms infinite linear;

}

#wavethree {

-webkit-animation: drift 2500ms infinite linear;

animation: drift 2500ms infinite linear;

background: #2196F3;

opacity: .5;

}

#wavetwo {

-webkit-animation: drift 5000ms infinite linear;

animation: drift 5000ms infinite linear;

opacity: .9;

background: #4FC3F7;

}

.box:after {

content: '';

display: block;

left: 0;

top: 0;

width: 100%;

height: 100%;

background: -webkit-linear-gradient(top, #42A5F5, #BBDEFB 80%, rgba(92, 107, 192, 0.3));

background: linear-gradient(to bottom, #42A5F5, rgba(40, 53, 147, 0.2) 80%, #1A237E);

z-index: 1;

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

}

.title {

position: absolute;

left: 0;

top: 0;

width: 100%;

z-index: 1;

line-height: 300px;

text-align: center;

-webkit-transform: translate3d(0, 0, 0);

transform: translate3d(0, 0, 0);

color: white;

text-transform: uppercase;

font-family: 'Josefin Sans', sans-serif;

letter-spacing: .4em;

font-size: 42px;

text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);

text-indent: .3em;

}

@-webkit-keyframes drift {

from {

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

}

from {

-webkit-transform: rotate(360deg);

transform: rotate(360deg);

}

}

@keyframes drift {

from {

-webkit-transform: rotate(0deg);

transform: rotate(0deg);

}

from {

-webkit-transform: rotate(360deg);

transform: rotate(360deg);

}

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值