css3光束_CSS3光束散射旋转动画CSS
语⾔:
CSSSCSS
确定
* {
box-sizing: border-box;
}
body {
background-color: #1a1a1a;
font-family: 'Roboto', sans-serif;
}
@-webkit-keyframes beamOne {
0% {
transform: rotate(0deg) scale(1);
opacity: 1;
}
50% {
transform: rotate(180deg) scale(1.2);
opacity: 0.8;
}
100% {
transform: rotate(360deg) scale(1);
opacity: 1;
}
}
@-moz-keyframes beamOne {
0% {
transform: rotate(0deg) scale(1);
opacity: 1;
}
50% {
}
100% {
transform: rotate(360deg) scale(1); opacity: 1;
}
}
@-o-keyframes beamOne {
0% {
transform: rotate(0deg) scale(1); opacity: 1;
}
50% {
transform: rotate(180deg) scale(1.2); opacity: 0.8;
}
100% {
box sizing
transform: rotate(360deg) scale(1); opacity: 1;
}
}
@keyframes beamOne {
0% {
transform: rotate(0deg) scale(1); opacity: 1;
}
50% {
transform: rotate(180deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(360deg) scale(1); opacity: 1;
@-webkit-keyframes beamTwo {
0% {
transform: rotate(-45deg) scale(1); opacity: 1;
}
50% {
transform: rotate(135deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(315deg) scale(1); opacity: 1;
}
}
@-moz-keyframes beamTwo {
0% {
transform: rotate(-45deg) scale(1); opacity: 1;
}
50% {
transform: rotate(135deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(315deg) scale(1); opacity: 1;
}
}
@-o-keyframes beamTwo {
0% {
transform: rotate(-45deg) scale(1); opacity: 1;
transform: rotate(135deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(315deg) scale(1); opacity: 1;
}
}
@keyframes beamTwo {
0% {
transform: rotate(-45deg) scale(1); opacity: 1;
}
50% {
transform: rotate(135deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(315deg) scale(1); opacity: 1;
}
}
@-webkit-keyframes beamThree {
0% {
transform: rotate(-90deg) scale(1); opacity: 1;
}
50% {
transform: rotate(90deg) scale(1.2); opacity: 0.8;
}
100% {
}
}
@-moz-keyframes beamThree {
0% {
transform: rotate(-90deg) scale(1); opacity: 1;
}
50% {
transform: rotate(90deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(270deg) scale(1); opacity: 1;
}
}
@-o-keyframes beamThree {
0% {
transform: rotate(-90deg) scale(1); opacity: 1;
}
50% {
transform: rotate(90deg) scale(1.2); opacity: 0.8;
}
100% {
transform: rotate(270deg) scale(1); opacity: 1;
}
}
@keyframes beamThree {
0% {
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论