Skip to content

BoazWelsenis/disneyplus-studios-section-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Clone" Disney+ Studios Section

In this project I've made a "clone" of the Studios Section from Disney+.


Faced Challanges + Fixes

1. Overlapping an image on a video on hover: When overlapping the used image (= the logo of a studio) with the video, i used: position: relative/absolute + z-index to be able to overlap the image in on the video.

The problem I faced was that I still couldn't see the image. But I fixed this by setting display: block


2. Video (.mp4) not playing on hover: When using the video tag / element in HTML and I applied the loop, autoplay, playsinline properties. The only thing was, that the video wouldn't play (or just randomly), but eventually I found out that if you use the muted property on the video tag / element it will play properly!

The muted needs to be used, because of in-build security from browsers to prevent a video to be played out loud when a user visits a specific page (where this tag / element is used).


Result

Z.-.Result.mp4

P.S: If you want to see the full hover states of the Disney+ Studios Section, make sure to fork this project!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages