css make list display vertically code example
Example 1: how to make a list vertical in css
.list-item
{
float: left;
clear: left;
}
Example 2: list elements vertically in html
display: inline-block
.list-item
{
float: left;
clear: left;
}
display: inline-block