Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Vipul-Gejage/Disney-Hotstar-Clone/llms.txt
Use this file to discover all available pages before exploring further.
Hotstar.html includes two side-scrolling movie card sections — Latest Releases and Recommended For You — each containing ten poster cards. Both rows share an identical HTML and CSS structure: a .movies-list wrapper that holds a pair of navigation buttons and a .card-container that scrolls horizontally. Each .card shows a poster image at rest and fades in a .card-body overlay with the title, a short description, and an Add to watchlist button when the user hovers.
Card Titles
Latest Releases (in source order):- Mission Mangal
- Kerala
- The Night Manager
- Good Night
- IB71
- Janaki Jaane
- The Trial
- Aashikana
- Tezz
- Panga
- Loki
- Mulan
- The Falcon
- Avengers
- Thor
- Avengers
- Pirates
- Soul
- Raya
- Luca
HTML Structure for One Card
.card contains:
.card-img— a full-bleed poster image (width: 100%; height: 100%; object-fit: cover).card-body— an absolutely positioned overlay, hidden by default (opacity: 0), revealed on hover via a CSS opacity transition
CSS — Card Layout and Hover Effects
Each card is fixed at 150px wide and 200px tall. On hover, the card scales up to 1.1× its size and the.card-body fades in. The overlay uses a bottom-anchored gradient (linear-gradient(to bottom, rgba(4,8,15,0), #192133 90%)) so the lower portion of the poster darkens and the title text remains legible.
Horizontal Scroll
The.card-container is set to overflow-x: auto with scroll-behavior: smooth so it can scroll horizontally when the card content overflows. The native scrollbar is hidden on WebKit browsers using the ::-webkit-scrollbar pseudo-element:
Navigation Buttons
Each.movies-list includes .pre-btn (left) and .nxt-btn (right) buttons positioned absolutely at the edges of the row. They use gradient backgrounds that blend into the page color, creating a soft fade effect. Their arrow icons (pre.png and nxt.png) are invisible by default and fade in to opacity: 1 only on button hover:
The JavaScript scroll logic for
.pre-btn and .nxt-btn is present in Hotstar.js but is fully commented out. Clicking the buttons currently has no effect — the arrow icons are purely decorative. To enable scrolling, uncomment and fix the card-slider block in Hotstar.js.Adding a New Card
To add an eleventh card to either row, insert a new.card div at the end of the corresponding .card-container in Hotstar.html:
.card-container flex layout and overflow-x: auto automatically accommodate the new card without any CSS or JavaScript changes.