-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (73 loc) · 1.23 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
#card-container {
margin: 50px auto;
display: grid;
grid-template-columns: repeat(6, 170px);
grid-template-rows: repeat(2, 300px);
grid-gap: 20px;
perspective: 800px;
}
body {
background-image: url(./Images/background.jpg);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 150vh;
}
p {
font-family: "Great Vibes", cursive;
font-size: 100px;
color: rgb(255, 255, 255);
text-align: center;
}
.card {
position: relative;
width: 150px;
height: 250px;
transition: transform 1s ease;
transform-style: preserve-3d;
box-shadow: rgba(246, 243, 243, 0.967) 10px 5px 20px;
cursor: pointer;
}
.photo,
.cover {
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
}
.cover {
backface-visibility: hidden;
}
.flip {
transform: rotateY(180deg);
pointer-events: none;
}
span {
color: white;
font-size: 50px;
font-family: "Great Vibes", cursive;
}
i {
font-size: 40px;
color: red;
}
button {
padding: 20px;
font-size: 25px;
border-radius: 10px;
margin: 0 30px;
background-color: white;
color: red;
font-family: "Great Vibes", cursive;
cursor: pointer;
}
#details {
margin: 100px auto 30px;
}