-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcatmatch.css
80 lines (69 loc) · 1.19 KB
/
catmatch.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
/* Reset */
* {
vertical-align: baseline;
font-family: Helvetica, sans-serif;
font-size: 12pt;
color: black;
text-decoration: none;
border: none;
padding: 0;
margin: auto;
}
.screen {
display: none;
width: 100%;
height: 100%;
position: absolute;
}
.padding {
height: 35%;
}
h1 {
text-align: center;
font-size: 3em;
margin-bottom: 0.5em;
}
p {
text-align: center;
}
a {
font-size: 2em;
background-color: skyblue;
padding: 0.5em 1.5em;
border-radius: 0.25em;
}
ul {
display: block;
list-style: none;
}
li {
width: 22%;
height: 30%;
margin: 1% 1.5%;
float: left;
-moz-transform-style: preserve-3d;
-moz-transition: 0.5s;
-webkit-transform-style: preserve-3d;
-webkit-transition: 0.5s;
}
img {
width: 100%;
height: 100%;
border-radius: 0.75em;
-moz-backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.front {
position: absolute;
-moz-transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
}
.flipped {
-moz-transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
}
.dissolve {
opacity: 0;
-moz-transition:opacity 0.75s linear;
-webkit-transition:opacity 0.75s linear;
}