-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
68 lines (59 loc) · 1.04 KB
/
style.css
File metadata and controls
68 lines (59 loc) · 1.04 KB
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
body {
background-color: #333;
}
button {
background-color: #0062ac;
color: white;
padding: 12px 28px;
border-radius: 5px;
border: none;
cursor: pointer;
}
.hidden {
display: none;
}
.card-list {
display: grid;
grid-template-columns: repeat(4, auto);
justify-content: center;
align-content: center;
gap: 30px;
list-style: none;
margin: 0;
padding: 0;
min-height: 100vh;
}
.flipper-container {
width: 120px;
height: 180px;
cursor: pointer;
perspective: 1000px;
}
.flipper {
position: relative;
width: 100%;
height: 100%;
transform-style: preserve-3d;
transition: transform 0.8s;
}
.flipper.show {
transform: rotateY(180deg);
}
.flipper-face {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
background: radial-gradient(circle, #1c3657 0%, #2980b9 100%);
width: 100%;
height: 100%;
backface-visibility: hidden;
}
.back {
transform: rotateY(180deg);
}
.card-logo {
width: calc(100% - 10px);
filter: brightness(0) invert(1);
}