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.

Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

Ask me question on patreon