Skip to content

Instantly share code, notes, and snippets.

@jimmyjump
Last active February 5, 2024 08:26
Show Gist options
  • Save jimmyjump/ce0edc702c03510a3dc4 to your computer and use it in GitHub Desktop.
Save jimmyjump/ce0edc702c03510a3dc4 to your computer and use it in GitHub Desktop.
⭐ String value on list-style-type CSS property ⭐
<!DOCTYPE html>
<html>
<head>
<title>String value for list-style-type CSS property</title>
<style>
@viewport {
width: 100vw; /* same as device-width */
zoom: 1.0; /* 1.0 or 100% means no zooming */
user-zoom: fixed; /* Disable zooming */
orientation: landscape;
}
ul {
list-style-type: ' ★ ';
}
ol {
list-style-type: ' ☯ ';
}
</style>
</head>
<body>
<h3>CSS is awesome!</h3>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
</body>
</html>
@jimmyjump
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment