Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
106 lines (95 loc) · 2.25 KB
/
Copy pathstyles.css
File metadata and controls
106 lines (95 loc) · 2.25 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
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
106
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;800;900&display=swap");
html {
font-size: 16px;
}
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-line-pack: center;
align-content: center;
height: 100vh;
-webkit-perspective: 1000px;
perspective: 1000px;
}
.container {
margin-top: 5rem;
height: 40rem;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 3rem;
border-radius: 18px;
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2), 0px 0px 50px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2), 0px 0px 50px rgba(0, 0, 0, 0.3);
}
.shoe {
background: -webkit-gradient(linear, left top, right top, from(red), to(blue));
background: linear-gradient(90deg, red, blue);
border-radius: 50%;
width: 10rem;
height: 10rem;
place-self: center;
}
.card {
place-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
width: 40rem;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
gap: 10px;
}
.card > *,
.shoe img {
-webkit-transition: .8s;
transition: .8s;
}
img {
width: 15rem;
z-index: 1;
}
.shoe {
margin-bottom: 4rem;
}
p {
width: 18rem;
}
button {
font-size: medium;
padding: .4rem;
margin: 1rem;
border: none;
border-radius: 50%;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
button:hover {
color: black;
background: -webkit-gradient(linear, left top, right top, from(#d06363), to(#7878dc));
background: linear-gradient(90deg, #d06363, #7878dc);
}
/*# sourceMappingURL=styles.css.map */