Is it possible to make a scaling square? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antwort
+ 6
Add this properties to the element width:10vw; height:10vw;
6th May 2019, 2:59 PM
Seniru
Seniru - avatar