Please, someone help me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please, someone help me?

I'm trying adapter my code for to be responsive in the cellphone screen. But I can't... My code is here: https://code.sololearn.com/WrH0zd1gfc63/?ref=app * Sorry for my English(I'm a Brazilian)

22nd Oct 2019, 2:24 PM
Adriano P de Araujo
Adriano P de Araujo - avatar
4 Answers
+ 4
I think you have to use the passing instead of margin and use the percentage value instead of pixels. I think it is a good way to be the responsive
22nd Oct 2019, 2:35 PM
Raju Ram Sau
Raju Ram Sau - avatar
+ 4
1. A quick fix: @media (max-width:400px){ :root{ transform:scale(0.25); transform-origin:0 0; } } https://code.sololearn.com/WZmi1Dw8w7m3/?ref=app 2. To learn yourself : https://code.sololearn.com/W3gS00IGw160/?ref=app
22nd Oct 2019, 3:17 PM
Gordon
Gordon - avatar
+ 2
A A You can use @media attributes in CSS. This is best option to make responsive.
22nd Oct 2019, 2:47 PM
A͢J
A͢J - avatar
0
Thank you guys... I will try to apply what you advised 😀
22nd Oct 2019, 3:21 PM
Adriano P de Araujo
Adriano P de Araujo - avatar