Home > Archives > 2011.07
Wed. 2011.07.13
13:42:40

正方形の写真にでかい角丸つけてくるくる回転させるとまるでレコードやんの実験



/* Turntable */

@-webkit-keyframes rotate {
0% {-webkit-transform: rotate(0deg) rotateY(0) scale(1)}
100% {-webkit-transform: rotate(360deg) rotateY(0) scale(1)}
}

img.turntable {
border-radius: 384px;
-webkit-animation-name: rotate;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-webkit-animation-duration: 1s;
}