nexora / frontend /src /skeletons /movieCard.css
ChandimaPrabath's picture
0.0.0.3 Alpha
0879a03
raw
history blame
1.15 kB
.skeleton-loader {
position: relative;
width: 150px;
height: 250px;
margin: 10px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
animation: pulse 1.5s infinite ease-in-out;
}
.image-container {
width: 100%;
height: 80%;
border-radius: 8px 8px 0 0;
animation: pulse 1.5s infinite ease-in-out;
}
.movie-info {
width: 100%;
height: 20%;
padding: 10px;
color: #fff;
text-align: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
}
.skeleton-title, .skeleton-year {
border-radius: 4px;
margin: 0 auto;
animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-title {
height: 20px;
width: 80%;
}
.skeleton-year {
height: 16px;
width: 60%;
margin-top: 5px;
}
@keyframes pulse {
0% {
background-color: #1b1c24;
}
50% {
background-color: #323443;
}
100% {
background-color: #1b1c24;
}
}