Why will relative position not work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why will relative position not work

Cannot move "eye" using relative https://code.sololearn.com/WCPbaxpcDYsV/?ref=app

12th Nov 2019, 3:54 PM
David Nierman
David Nierman - avatar
3 Answers
+ 3
// David Nierman The "eye" class must be in position:absolute; with margin: auto; otherwise, he can doesn't work with position:relative;
12th Nov 2019, 4:15 PM
program
program - avatar
+ 2
// David Nierman Welcome 😉
12th Nov 2019, 4:20 PM
program
program - avatar
0
Thank you!
12th Nov 2019, 4:19 PM
David Nierman
David Nierman - avatar