DEV Community

Discussion on: Cool CSS tips And Tricks

Collapse
 
kalashin1 profile image
Kinanee Samson

I have tried using emojis as class names in my code, i use firefox, edge, chrome, it works fine even on my android device, i still get the same results. Haven't tested it on a mac but hey these are pro tips supplied by experts.

Collapse
 
afif profile image
Temani Afif

it's not about the result of the code. It's about the code itself. Emojis don't render the same in all the OS so I may not see the same code (not the same result) and this will make it difficult to manage. We may both see a different rendred emoji and this will lead to a lot of confusion.
Check this to understand what I mean: unicode.org/emoji/charts/full-emoj... see how each emoji can have different rendring, the same can happen with your code even if it's still the same one.