Customer Inquiries

1001 Mark Boulevard St.

New York, NY, US.


Mon - Sat 8.00 - 18.00


Sales department

+01 2345 6789

Cool Ordered List Numbers With CSS

I came across a site the other day by accident that had a really nice way of displaying the numbers in an ordered list. Actually, it wasn’t an ordered list, per se. It was a uniform list with numbers set to the left to look like a numbered list. The effect was really cool, could be adapted to a lot of different looks and colors, and is easily repeatable.


There’s a few parts to this but most of it is very standard. The key to the round numbers is simple CSS border styling using a little trick where you set the border ‘radius’ to half the size of the height and width which need to be the same. In other words, the round areas are actually squares with the borders radiused to half their height and width which is 42px (h) and 42px (w). So the radius is set to 21px. The result is a circle. Then, we simply set the display of the number to half the size (20px) and have it centered. What you see above is the results.

The Code

And the HTML

Note that the ‘container’ is optional.



Pin It on Pinterest

Share This