+ 4

I have the code below. The text from the red div is acting weird when I press the red div. How to solve that?

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

20th Nov 2019, 6:29 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
3 Answers
+ 5
Alex Instead of "fixed" try "absolute" for #blueQuest, #redQuest Absolute: The element is positioned relative to its first positioned (not static) ancestor element. Fixed: The element is positioned relative to the browser window. https://code.sololearn.com/WZj4pr04HnB1/#css
20th Nov 2019, 8:17 AM
ODLNT
ODLNT - avatar
+ 5
Fixed, in your code at line 17: transition:transform 0.25s; https://code.sololearn.com/WiMA4ZZaQCbP/?ref=app
20th Nov 2019, 8:04 AM
Farhan
Farhan - avatar
+ 4
Yay. It worked. Thank you ODLNT and Farhan🏁[Traveling] !
20th Nov 2019, 9:42 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar