File tree Expand file tree Collapse file tree
Art/agrawalshreyansh-spinning_wheel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 " />
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6+ < title > Spinning Wheel Animation</ title >
7+ < link rel ="stylesheet " href ="styles.css " />
8+ </ head >
9+ < body >
10+ < div class ="container ">
11+ < div class ="wheel "> </ div >
12+ </ div >
13+ </ body >
14+ </ html >
Original file line number Diff line number Diff line change 1+ {
2+ "githubHandle" : " agrawalshreyansh" ,
3+ "artName" : " spinning_wheel"
4+ }
Original file line number Diff line number Diff line change 1+ body {
2+ background : linear-gradient (to bottom, # ffecd2, # fcb69f );
3+ overflow : hidden;
4+ margin : 0 ;
5+ height : 100vh ;
6+ display : flex;
7+ justify-content : center;
8+ align-items : center;
9+ }
10+
11+ .container {
12+ position : relative;
13+ }
14+
15+ .wheel {
16+ width : 100px ;
17+ height : 100px ;
18+ border : 10px solid # ff6b6b ;
19+ border-top : 10px solid # 4ecdc4 ;
20+ border-radius : 50% ;
21+ animation : spin 2s linear infinite;
22+ }
23+
24+ @keyframes spin {
25+ 0% {
26+ transform : rotate (0deg );
27+ }
28+ 100% {
29+ transform : rotate (360deg );
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments