Skip to content

Commit 78a9f4a

Browse files
Added some styling to the app
1 parent 09948b4 commit 78a9f4a

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

fetch/style.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
background-color: #f0f2f5;
4+
display: flex;
5+
flex-direction: column;
6+
align-items: center;
7+
justify-content: center;
8+
min-height: 100vh;
9+
margin: 0;
10+
padding: 20px;
11+
}
12+
13+
h1 {
14+
color: #333;
15+
}
16+
17+
#image-container {
18+
margin-top: 20px;
19+
display: flex;
20+
flex-wrap: wrap;
21+
gap: 20px;
22+
justify-content: center;
23+
}
24+
25+
#image-container img {
26+
max-width: 300px;
27+
border-radius: 12px;
28+
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
29+
transition: transform 0.2s, box-shadow 0.2s;
30+
}
31+
32+
#image-container img:hover {
33+
transform: scale(1.05);
34+
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
35+
}
36+
37+
.error {
38+
color: red;
39+
font-weight: bold;
40+
margin-top: 20px;
41+
}

0 commit comments

Comments
 (0)