- Instant help with your CSS coding problems

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.

 

Share "How to use emoji instead of list style?"
Interesting things
OpanAi's ChatGPT