Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunath7472 authored Apr 8, 2024
1 parent 603cbbd commit 4702040
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@

.video-container .video-item {
flex: 1 1 100%; /* Responsive width, minimum 300px */
height: 141px; /* Based on a 16:9 aspect ratio */
transition: transform 0.3s ease; /* Smooth transition for scaling */
max-width: 250px;
max-width: 360px;
height: calc((360px - 20px) * 9 / 16);
border-radius: 4px;
object-fit: cover;
}

.video-container .video-item:hover {
Expand Down

0 comments on commit 4702040

Please sign in to comment.