Is it possible to make a scaling square? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Is it possible to make a scaling square?

I want to make a square, that is 10% of the screen width, and on all screens stays a square.

6th May 2019, 2:55 PM
Airree
Airree - avatar
1 ответ
+ 6
Add this properties to the element width:10vw; height:10vw;
6th May 2019, 2:59 PM
Seniru
Seniru - avatar