css how to make 2d animations at once

Solutions on MaxInterview for css how to make 2d animations at once by the best coders in the world

showing results for - "css how to make 2d animations at once"
Tom
10 Nov 2020
1.scaler {
2    position: absolute;
3    top: 100%;
4    left: 50%;
5    width: 120px;
6    height: 120px;
7    margin:-60px 0 0 -60px;
8    animation: scale 4s infinite linear;    
9}
10
11.spinner {
12    position: relative;
13    top: 150px;
14    animation: spin 2s infinite linear;
15}
16
17
18@keyframes spin { 
19    100% { 
20        transform: rotate(180deg);
21    } 
22}
23
24@keyframes scale {
25    100% {
26         transform: scaleX(2) scaleY(2);
27    }
28}
Sidney
18 Nov 2019
1<div class="spinner">
2<img class="scaler" src="http://makeameme.org/media/templates/120/grumpy_cat.jpg" alt="" width="120" height="120">
3<div>
Caterina
06 Oct 2018
1animation: rotate 1s, spin 3s;
2