Spaces:
Running
Running
File size: 1,044 Bytes
329f5c6 | 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 58 59 60 61 62 63 64 | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
text-align: center;
width: 80%;
max-width: 600px;
}
#drop-area {
border: 2px dashed #ccc;
border-radius: 10px;
padding: 20px;
margin: 20px auto;
background-color: #fff;
transition: background-color 0.3s ease;
}
#drop-area:hover {
background-color: #f0f0f0;
}
#drop-area p {
margin: 10px 0;
}
#file-input-button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
#file-input-button:hover {
background-color: #0056b3;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 10px;
margin-top: 20px;
}
.gallery img {
width: 100%;
height: auto;
border-radius: 10px;
object-fit: cover;
} |