File tree Expand file tree Collapse file tree 1 file changed +77
-0
lines changed
Source-Code/RockPapperScissor Expand file tree Collapse file tree 1 file changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ html , body {
2+ height : 100% ;
3+ width : 100% ;
4+ padding : 0 ;
5+ margin : 0 ;
6+ }
7+
8+ .wrapper {
9+ background : # 1c1c1c ;
10+ color : rgb (255 , 255 , 255 );
11+ display : flex;
12+ align-items : center;
13+ justify-content : center;
14+ width : 100% ;
15+ height : 100% ;
16+ flex-direction : column;
17+ }
18+
19+ .buttons {
20+ display : flex;
21+ gap : 50px ;
22+ }
23+
24+ .button {
25+ height : 100px ;
26+ width : 100px ;
27+ font-size : 48px ;
28+ border-radius : 40% ;
29+ cursor : pointer;
30+ background-color : # 1c1c1c ;
31+ }
32+
33+ .button : hover , .button : focus {
34+ background : # e0e0e0 ;
35+ box-shadow : 20px -20px 80px # 65f5df,
36+ -10px -10px 60px # 65f5df ;
37+ transform : translateY (-6px );
38+ transition : transform
39+ 250ms
40+ cubic-bezier (.3 , .7 , .4 , 1.5 );
41+ }
42+
43+ .resultContainer {
44+ font-size : 2rem ;
45+ text-align : center;
46+ margin-top : 20px ;
47+ }
48+ # endGameButton {
49+ height : 100px ;
50+ width : 100px ;
51+ font-size : 48px ;
52+ border-radius : 40% ;
53+ cursor : pointer;
54+ background-color : # 1c1c1c ;
55+ position : relative;
56+ animation : beat 2s infinite;
57+ }
58+ @keyframes beat {
59+ 0% {
60+ transform : scale (1 );
61+ }
62+
63+ 50% {
64+ transform : scale (1.2 );
65+ }
66+
67+ 100% {
68+ transform : scale (1 );
69+ }
70+ }
71+
72+ # endGameButton : hover {
73+ background : # e0e0e0 ;
74+ box-shadow : 20px -20px 80px # 65f5df,
75+ -10px -10px 60px # 65f5df ;
76+
77+ }
You can’t perform that action at this time.
0 commit comments