Bullets lists with custom symbols

Even if you have some predefined offers of bullets lists, you can use other options. For example, if you want to use a soccer ball, you can use the following code:

CSS

HTML

This will be the effect:

  • Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee CoffeeCoffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee Coffee
  • Tea
  • Water

If it is necessary to use predefined symbols for multilevel lists as well, a variant could be like the one below:

CSS

HTML

The effect is as below:

  • lorem ipsum
  • lorem ipsum:
    • lorem ipsum
    • lorem ipsum
    • lorem ipsum

JSFiddle

For a variety of custom lists, you can also see the following examples.

Author: Ovidiu.S

I am quite passionate about this professional area as if I know something - no matter how little - I want to share it with others.

Leave a Reply

Your email address will not be published. Required fields are marked *