We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c50e8e commit 87a43d8Copy full SHA for 87a43d8
src/styles/pages/activities/FortuneCard.css
@@ -1,6 +1,7 @@
1
.FortuneCard {
2
text-align: center;
3
- margin: 20px;
+ margin: 20px auto;
4
+ max-width: 100%;
5
}
6
7
h1 {
@@ -24,6 +25,8 @@ h1 {
24
25
display: flex;
26
flex-wrap: wrap;
27
justify-content: center;
28
+ gap: 20px;
29
+ width: 100%;
30
31
32
.card {
@@ -33,11 +36,14 @@ h1 {
33
36
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
34
37
padding: 20px;
35
38
margin: 10px;
- max-width: 300px;
39
40
transition: transform 0.2s ease-in-out;
41
+ flex: 1 1 280px;
42
+ min-width: 260px;
43
+ max-width: 320px;
44
45
46
+
47
.card:hover {
48
transform: scale(1.05);
49
background-color: #eaeaea;
0 commit comments