Square positions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Square positions

I am just learning how to make squares and other shapes on html. How do I set it’s position?

20th Jun 2018, 7:00 AM
George
George - avatar
1 Answer
0
Give the shape a class and then go to css and and give the class a position of your choice, you can use position fixed, absolute, static and more, you can find different position types on the w3schools website
16th Jul 2022, 1:38 PM
Ishak
Ishak - avatar