HTML5 assignment
In this assignment it is going to be used HTML5 with of its characteristics in order to make a web page
MSc Computer Science Engineer
In this assignment it is going to be used HTML5 with of its characteristics in order to make a web page
You can modify the opacity of the video:
You can activate or deactivate the ambient light here:
Video source: Dartmoor from James Watson.
You can change the picture selecting another one at the bottom.
In this case, the background content is an image set as a div's background-image url, this means that there are two div elements, one inside the other. The "container" div has the background image, and the second div has the content, that scrolls normally.
In other to achieve this effect, I used the Stellar.js file.
As you can see, the second star is going crazy. This effect was achieved by aplying a @keyframe parameter in de CSS and then adding some rotation transforms:
This one is more complex than the previous one: