Page opening animation

Page opening animation
0

#1

Ok guys here is a really hard one.

I want the opening page of a website im building to be a comic book, and when the comic book is pressed, it opens to reveal the website. Any ideas on the steps to take to get this done?


#2

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too. Some of what you are asking is pretty trivial in the Free Code Camp context, so you might find that if you’re not getting the instruction and material you need in your current studies, the FCC curriculum will really help you get started. Not sure if you have started the curriculum or how far you have gotten, but you can find the curriculum at https://freecodecamp.org.

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:


#3

The basics for what you describe are thus:

Create OverLay Div
Create Page
Use CSS to overlay Div on page
Use onclick Javascript to remove div with animation.

As @RandellDawson said, post code or attempts on something like Codepen so we can take a look and help you move in that direction.