<?xml version="1.0" encoding="utf-8"?>

CSS list-style-image property

CSS list-style-image property Bad Practice
CSS list-style-image property Best Practice

By default, browsers use bullet points for list markers in unordered lists. The list-style-image property allows you to set the image you want to use as a list item marker. Use the url() function to specify the image's address. In this example, the style rule assigns a transparent PNG image "leaf.png" as the list marker for all the items in the unordered list.

Topics

From Lesson

Share

Improve your UX & Product skills with interactive courses that actually work