Height and Width Using CSS
With the width property, you can define a certain width of an element.
For example,
div {
width: 200px;
border: 1px solid black;
background: orange;
}
With the height property, you can define a certain height of an element.
For example,
div.box {
height: 500px;
border: 1px solid black;
background: orange;
}