SAEWEB2.2/ci/assets/album.css

44 lines
738 B
CSS

.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 auto;
padding: 20px;
}
.album {
box-sizing: border-box;
width: 18%;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 10px;
padding: 10px;
margin-top: 50px;
text-align: center;
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.album img {
max-width: 80%;
height: auto;
border-bottom: 1px solid #ccc;
margin-bottom: 10px;
border-radius: 10px 10px 0 0;
}
.album-title {
font-size: 1.2em;
font-weight: bold;
color: #333;
margin-top: 10px;
}
.album:hover {
transform: scale(1.05);
}