I have the code below. The text from the red div is acting weird when I press the red div. How to solve that? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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