+ 2

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

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

25th May 2020, 5:15 AM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
8 Answers
+ 6
If your asking about the top property in the css, this should answer your question. https://www.w3schools.com/cssref/pr_pos_top.asp
25th May 2020, 6:10 AM
ChaoticDawg
ChaoticDawg - avatar
+ 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.
25th May 2020, 6:37 AM
A͢J
A͢J - avatar
+ 5
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.
25th May 2020, 6:54 AM
Ryan Els
Ryan Els - avatar
+ 4
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.
25th May 2020, 6:32 AM
Ryan Els
Ryan Els - avatar
+ 3
AJ #Infinity Love Oh ok. I missed the top part 😊. I thought he just wanted to know where the function is 👍
25th May 2020, 6:51 AM
Ryan Els
Ryan Els - avatar
+ 2
ChaoticDawg get it 😊
25th May 2020, 4:33 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
+ 2
AJ #Infinity Love srry for trouble.
25th May 2020, 4:36 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
+ 1
Where is function in this code?
25th May 2020, 5:59 AM
A͢J
A͢J - avatar