-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommon.css
More file actions
53 lines (49 loc) · 967 Bytes
/
common.css
File metadata and controls
53 lines (49 loc) · 967 Bytes
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
body{
justify-content: center;
text-align: center;
align-items: center;
}
.button{
border:none;
color:pink;
text-align:center;
font-size:16px;
}
.button:hover{
background-color:#130331
}
.flip{
display: block;
background-color: transparent;
width: 300px;
height: 300px;
border: 1px solid #f1f1f1;
perspective: 1000px;
}
.flip-inner{
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip:hover .flip-inner{
transform: rotateY(180deg);
}
.flip-front,.flip-back{
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-front{
background-color: transparent;
color: black;
}
.flip-back{
background-image: linear-gradient(75deg,lightgreen,lightpink);
color: darkblue;
transform: rotateY(180deg);
}