Home > Software design >  css animation doesnt appear first when going onto second html page
css animation doesnt appear first when going onto second html page

Time:06-05

Hi I am doing an assignment that recquires me to only use html and css only no javascript. Usually, with javascript this is hella easy to do but html and css only is a bit annoying. In my first page I have a link to my second but when I press the link from the first page to go onto the second page. The animation I made does not work at all and the secondary text only shows up.

I will provide photos and code to show what I mean. I dont understand what I am doing incorrectly to cause this but it is annoying.

firstpage

second page

from the first page going onto the second via clicking 'start' the second text only shows up but I need the whole thing to show up. Heres the animation part I want to show up as well. animation_part

second page html: html second page css css-part1 css-part2

I am not sure if this will further show my predicament but heres the code for the first html and css pages:

For some reason it is not allowing me to post the code here so I have done my best to showcase to go around the error

GITHUB: https://github.com/TheGraeDev/ADV201

CodePudding user response:

It might be possible that your required character went to the back of main background. Try changes in css to bring your panda to front. Hope it helps!

CodePudding user response:

Okay Incase anyone else comes across the same issue. Change position to relative and instead of using percentage value for Top in css using px. it fixed the problem

  • Related