css 轨道,CSS3 三维轨道 140929

CSS

语言:

CSSSCSS

确定

* {

-moz-box-sizing: border-box;

box-sizing: border-box; }

body {

background: #222;

overflow: hidden; }

.contain {

position: absolute;

top: calc(50% - 100px);

left: calc(50% - 100px);

width: 100px;

height: 100px; }

.contain div {

position: absolute;

width: 100px;

height: 100px;

background: transparent;

border: 2px solid aquamarine; }

.contain div:nth-child(1) {

-webkit-animation: zoom 5s 0.125s infinite ease-in-out;

animation: zoom 5s 0.125s infinite ease-in-out; }

.contain div:nth-child(2) {

-webkit-animation: zoom 5s 0.25s infinite ease-in-out;

animation: zoom 5s 0.25s infinite ease-in-out; }

.contain div:nth-child(3) {

-webkit-animation: zoom 5s 0.375s infinite ease-in-out;

animation: zoom 5s 0.375s infinite ease-in-out; }

.contain div:nth-child(4) {

-webkit-animation: zoom 5s 0.5s infinite ease-in-out;

animation: zoom 5s 0.5s infinite ease-in-out; }

.contain div:nth-child(5) {

-webkit-animation: zoom 5s 0.625s infinite ease-in-out;

animation: zoom 5s 0.625s infinite ease-in-out; }

.contain div:nth-child(6) {

-webkit-animation: zoom 5s 0.75s infinite ease-in-out;

animation: zoom 5s 0.75s infinite ease-in-out; }

.contain div:nth-child(7) {

-webkit-animation: zoom 5s 0.875s infinite ease-in-out;

animation: zoom 5s 0.875s infinite ease-in-out; }

.contain div:nth-child(8) {

-webkit-animation: zoom 5s 1s infinite ease-in-out;

animation: zoom 5s 1s infinite ease-in-out; }

.contain div:nth-child(9) {

-webkit-animation: zoom 5s 1.125s infinite ease-in-out;

animation: zoom 5s 1.125s infinite ease-in-out; }

.contain div:nth-child(10) {

-webkit-animation: zoom 5s 1.25s infinite ease-in-out;

animation: zoom 5s 1.25s infinite ease-in-out; }

.contain div:nth-child(11) {

-webkit-animation: zoom 5s 1.375s infinite ease-in-out;

animation: zoom 5s 1.375s infinite ease-in-out; }

.contain div:nth-child(12) {

-webkit-animation: zoom 5s 1.5s infinite ease-in-out;

animation: zoom 5s 1.5s infinite ease-in-out; }

.contain div:nth-child(13) {

-webkit-animation: zoom 5s 1.625s infinite ease-in-out;

animation: zoom 5s 1.625s infinite ease-in-out; }

.contain div:nth-child(14) {

-webkit-animation: zoom 5s 1.75s infinite ease-in-out;

animation: zoom 5s 1.75s infinite ease-in-out; }

.contain div:nth-child(15) {

-webkit-animation: zoom 5s 1.875s infinite ease-in-out;

animation: zoom 5s 1.875s infinite ease-in-out; }

.contain div:nth-child(16) {

-webkit-animation: zoom 5s 2s infinite ease-in-out;

animation: zoom 5s 2s infinite ease-in-out; }

.contain div:nth-child(17) {

-webkit-animation: zoom 5s 2.125s infinite ease-in-out;

animation: zoom 5s 2.125s infinite ease-in-out; }

.contain div:nth-child(18) {

-webkit-animation: zoom 5s 2.25s infinite ease-in-out;

animation: zoom 5s 2.25s infinite ease-in-out; }

.contain div:nth-child(19) {

-webkit-animation: zoom 5s 2.375s infinite ease-in-out;

animation: zoom 5s 2.375s infinite ease-in-out; }

.contain div:nth-child(20) {

-webkit-animation: zoom 5s 2.5s infinite ease-in-out;

animation: zoom 5s 2.5s infinite ease-in-out; }

.contain div:nth-child(21) {

-webkit-animation: zoom 5s 2.625s infinite ease-in-out;

animation: zoom 5s 2.625s infinite ease-in-out; }

.contain div:nth-child(22) {

-webkit-animation: zoom 5s 2.75s infinite ease-in-out;

animation: zoom 5s 2.75s infinite ease-in-out; }

.contain div:nth-child(23) {

-webkit-animation: zoom 5s 2.875s infinite ease-in-out;

animation: zoom 5s 2.875s infinite ease-in-out; }

.contain div:nth-child(24) {

-webkit-animation: zoom 5s 3s infinite ease-in-out;

animation: zoom 5s 3s infinite ease-in-out; }

.contain div:nth-child(25) {

-webkit-animation: zoom 5s 3.125s infinite ease-in-out;

animation: zoom 5s 3.125s infinite ease-in-out; }

.contain div:nth-child(26) {

-webkit-animation: zoom 5s 3.25s infinite ease-in-out;

animation: zoom 5s 3.25s infinite ease-in-out; }

.contain div:nth-child(27) {

-webkit-animation: zoom 5s 3.375s infinite ease-in-out;

animation: zoom 5s 3.375s infinite ease-in-out; }

.contain div:nth-child(28) {

-webkit-animation: zoom 5s 3.5s infinite ease-in-out;

animation: zoom 5s 3.5s infinite ease-in-out; }

.contain div:nth-child(29) {

-webkit-animation: zoom 5s 3.625s infinite ease-in-out;

animation: zoom 5s 3.625s infinite ease-in-out; }

.contain div:nth-child(30) {

-webkit-animation: zoom 5s 3.75s infinite ease-in-out;

animation: zoom 5s 3.75s infinite ease-in-out; }

.contain div:nth-child(31) {

-webkit-animation: zoom 5s 3.875s infinite ease-in-out;

animation: zoom 5s 3.875s infinite ease-in-out; }

.contain div:nth-child(32) {

-webkit-animation: zoom 5s 4s infinite ease-in-out;

animation: zoom 5s 4s infinite ease-in-out; }

.contain div:nth-child(33) {

-webkit-animation: zoom 5s 4.125s infinite ease-in-out;

animation: zoom 5s 4.125s infinite ease-in-out; }

.contain div:nth-child(34) {

-webkit-animation: zoom 5s 4.25s infinite ease-in-out;

animation: zoom 5s 4.25s infinite ease-in-out; }

.contain div:nth-child(35) {

-webkit-animation: zoom 5s 4.375s infinite ease-in-out;

animation: zoom 5s 4.375s infinite ease-in-out; }

.contain div:nth-child(36) {

-webkit-animation: zoom 5s 4.5s infinite ease-in-out;

animation: zoom 5s 4.5s infinite ease-in-out; }

.contain div:nth-child(37) {

-webkit-animation: zoom 5s 4.625s infinite ease-in-out;

animation: zoom 5s 4.625s infinite ease-in-out; }

.contain div:nth-child(38) {

-webkit-animation: zoom 5s 4.75s infinite ease-in-out;

animation: zoom 5s 4.75s infinite ease-in-out; }

.contain div:nth-child(39) {

-webkit-animation: zoom 5s 4.875s infinite ease-in-out;

animation: zoom 5s 4.875s infinite ease-in-out; }

.contain div:nth-child(40) {

-webkit-animation: zoom 5s 5s infinite ease-in-out;

animation: zoom 5s 5s infinite ease-in-out; }

@-webkit-keyframes zoom {

100% {

-webkit-transform: scale(20) rotate(90deg);

transform: scale(20) rotate(90deg); } }

@keyframes zoom {

100% {

-webkit-transform: scale(20) rotate(90deg);

transform: scale(20) rotate(90deg); } }

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值