Use emoji instead of list style
Question:
How to use emoji instead of list style? Answer:
ul {
list-style-type: '\1F4A1'; // 💡
}
Description:
You can easily change the appearance of HTML list elements to improve their look. You can even use emojis instead of the default bullets. The list-style-type
property accepts a string value that can be any number of Unicode characters surrounded by either double (") or single (') quotes.
Reference:
The list-style-type reference
Share "How to use emoji instead of list style?"
Related snippets:
Tags:
emoji, bullet, dot, replace bullet with emoji, Technical term:
Use emoji instead of list style