-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
57 lines (49 loc) · 876 Bytes
/
styles.css
File metadata and controls
57 lines (49 loc) · 876 Bytes
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
body {
background-color: thistle;
min-height: 100vh;
}
#playing-cards {
margin-top: 100px;
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
.card {
background-color: white;
border: 1px solid black;
border-radius: 10px;
box-shadow: 2px 2px 2px grey;
max-width: 250px;
min-width: 250px;
height: 350px;
font: 30px bold;
padding: 5px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
text-align: center;
}
.left {
/* display: block; */
align-self: flex-start;
}
.middle {
align-self: center;
display: flex;
font-size: 80px;
flex-direction: column;
}
.right {
align-self: flex-end;
}
.flipped {
transform: rotate(180deg);
}
.red {
color: red;
}
.middle-section {
display: flex;
justify-content: center;
}