CSS Height Basic

The height property controls the vertical size of elements.

Preview

Code

<style>
.box{
height:120px;
background:#fde68a;
padding:10px;
}
</style>

<div class="box">Height example</div>

More CSS Height / Width Examples (7)