Skip to content

Instantly share code, notes, and snippets.

@aishaon
Created October 13, 2019 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aishaon/1228799ec68ff0d080159ebd6d0a3f59 to your computer and use it in GitHub Desktop.
Save aishaon/1228799ec68ff0d080159ebd6d0a3f59 to your computer and use it in GitHub Desktop.
Custom List with HTML & CSS
ul li{
list-style-image: url(images/tick.png);
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="custom-list.css">
</head>
<body>
<ul>
<li>Custom content 1</li>
<li>Custom content 2</li>
<li>Custom content 3</li>
<li>Custom content 4</li>
<li>Custom content 5</li>
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment