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