Can anyone plz tell me the Function of top in that code ? | SoloLearn: Learn to code for FREE!

+1

Can anyone plz tell me the Function of top in that code ?

https://code.sololearn.com/W1n12ob9fqZi/?ref=app

5/25/2020 5:15:34 AM

HRITIK.DIYUNDI

8 Answers

New Answer

+5

Ryan Els I know that but his question is confusing. I think he is asking about how top work in CSS as ChaoticDawg guessed and gave link.

+4

If your asking about the top property in the css, this should answer your question. https://www.w3schools.com/cssref/pr_pos_top.asp

+3

AJ #Infinity Love Looks like he is confused by the curly braces and thinks may be it is supposed to be a function. Not realising that it is css and not javascript. Anyway, yes, very confusing question.

+2

AJ #Infinity Love There is no javascript function in this code. The code makes use of css @keyframes for the animation. Using css to animate HTML is very effective. It is actually recommended in most cases.

+2

AJ #Infinity Love Oh ok. I missed the top part 😊. I thought he just wanted to know where the function is 👍

+2

ChaoticDawg get it 😊

+2

AJ #Infinity Love srry for trouble.

+1

Where is function in this code?