-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathversus.css
105 lines (90 loc) · 1.53 KB
/
versus.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.sides {
animation: 0.7s curtain cubic-bezier(0.86, 0, 0.07, 1) 0.4s both;
display: grid;
grid-template-columns: 50vw 50vw;
}
@keyframes curtain {
0% {
grid-gap: 100vw;
}
100% {
grid-gap: 0;
}
}
html,
body {
height: 100%;
margin: 0;
font-family: "Arial Black", sans-serif;
}
.intro {
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
justify-content: center;
}
.sides {
position: relative;
}
.side {
display: flex;
flex-direction: column;
align-items: center;
font-size: 6vw;
}
.monkey {
background-color: #dcc9a1;
color: #534325;
}
.robot {
background-color: #1b636f;
color: #ffffff;
flex-direction: column-reverse;
}
.name {
margin: 0.3em;
}
.emoji {
font-size: 3em;
transition: 1s;
}
.emoji img {
max-width: 225px;
}
.emoji:hover {
transform: scale(1.3) rotate( -13deg);
}
.versus {
position: absolute;
width: 13vw;
height: 13vw;
background: #ffffff;
border-radius: 50%;
left: 0;
right: 0;
bottom: 0;
top: 0;
margin: auto;
z-index: 3;
display: flex;
align-items: center;
justify-content: center;
font-size: 3.4vw;
color: #123456;
border-width: 10px;
border-style: solid;
border-color: #1b636f #dcc9a1 #dcc9a1 #1b636f;
transition: .5s
}
.versus:hover {
transform: scale(1.1) rotate(360deg);
}
.versus img {
max-width: 167px;
border-radius: 72px;
overflow: hidden;
}
.versus span {
transform: rotate(35deg);
}