-
Notifications
You must be signed in to change notification settings - Fork 0
/
box.css
57 lines (45 loc) · 882 Bytes
/
box.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
:root {
font-size: 20px;
box-sizing: inherit;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
p {
margin: 0;
}
p:not(:last-child) {
margin-bottom: 1.5em;
}
body {
font: 1em/1.618 Inter, sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 30px;
color: #224;
background:url(https://source.unsplash.com/E8Ufcyxz514/2400x1823)
center / cover no-repeat fixed;
}
.card {
max-width: 300px;
min-height: 200px;
display: flex;
flex-direction: column;
justify-content: space-between;
max-width: 500px;
height: 300px;
padding: 35px;
border: 1px solid rgba(255, 255, 255, .25);
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.45);
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(15px);
}
.card-footer {
font-size: 0.65em;
color: #446;
}