Square
suggest changeTo create a square, define an element with both a width and height. In the example below, we have an element with a width
and height
of 100 pixels each.
![](/essential/css/img/37497436c4189bbde0f2acf14f65d2d36872e16f.png)
<div class="square"></div>
.square {
width: 100px;
height: 100px;
background: rgb(246, 156, 85);
}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents