DEV Community

Discussion on: Cool CSS tips And Tricks

Collapse
 
afif profile image
Temani Afif

there's no spelling anything so the risk of making a typo is virtually eliminated. --> I would say the risk of typos is higher because emojis doesn't render the same way in all the OS so I might not see the same emojis as you and lets not forget the fact that we may not understand emojis the same way (due to different culture).

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.