CSS: Flowing List

By Xah Lee. Date: . Last updated: .

This page shows you how to use CSS to flow list items.

Here's a flowing list.

Here's HTML:

<ul class="flowlist05781">

Here's CSS:

ul.flowlist05781 li {
border:solid thin red}

ul.flowlist05781 li:before {content:"★ "}

You can also use display:inline-block.

Flowing list is particular useful if you have image thumbnails and you want to flow them.

Like what you read? Buy JavaScript in Depth
or, buy a new keyboard, see Keyboard Reviews.