Spaces:
Running
Running
Update index.html
Browse files- index.html +24 -1
index.html
CHANGED
|
@@ -5,7 +5,30 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Spider-Man Image Gallery</title>
|
| 7 |
<style>
|
| 8 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
</style>
|
| 10 |
</head>
|
| 11 |
<body>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Spider-Man Image Gallery</title>
|
| 7 |
<style>
|
| 8 |
+
/* Style for the page header */
|
| 9 |
+
h1 {
|
| 10 |
+
text-align: center;
|
| 11 |
+
background-color: #333;
|
| 12 |
+
color: #fff;
|
| 13 |
+
padding: 20px;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
/* Style for the image gallery container */
|
| 17 |
+
#image-gallery {
|
| 18 |
+
display: flex;
|
| 19 |
+
flex-wrap: wrap;
|
| 20 |
+
justify-content: center;
|
| 21 |
+
gap: 20px;
|
| 22 |
+
padding: 20px;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/* Style for individual images */
|
| 26 |
+
#image-gallery img {
|
| 27 |
+
max-width: 100%;
|
| 28 |
+
height: auto;
|
| 29 |
+
border: 1px solid #ccc;
|
| 30 |
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
|
| 31 |
+
}
|
| 32 |
</style>
|
| 33 |
</head>
|
| 34 |
<body>
|