Untitled
unknown
plain_text
2 months ago
965 B
5
Indexable
.game-card {
position: relative;
width: 260px;
height: 146px;
flex-shrink: 0;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
transition: transform 0.3s ease-out;
}
.game-card:hover {
transform: scale(1.08);
z-index: 10;
}
.row-poster {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.rating-overlay {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: rgba(0, 0, 0, 0.85);
color: white;
padding: 10px;
display: flex;
justify-content: center;
gap: 10px;
align-items: center;
transform: translateY(100%);
transition: transform 0.3s ease-in-out;
box-sizing: border-box;
}
.game-card:hover .rating-overlay {
transform: translateY(0);
}
.stars {
color: #f1c40f;
letter-spacing: 2px;
}
.rating-text {
font-weight: 700;
font-size: 1.1rem;
}
Editor is loading...
Leave a Comment