Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. The classes below need to be added into the HEAD of the email.
  2.  
  3. How does the hack work? It replaces the Gmail images with a glyph version
  4.  
  5. <!DOCTYPE html>
  6. <html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  7. <head>
  8. <style>
  9. .emoji img{
  10. display:none;
  11. }
  12. .emoji img + u{
  13. background-size:contain;
  14. height: 1em;
  15. width: 1em;
  16. display: inline-block;
  17. }
  18. .t img + u{
  19. background-image: url(http://www.charbase.com/images/glyph/153);
  20. }
  21. .c img + u{
  22. background-image: url(http://www.charbase.com/images/glyph/169);
  23. }
  24. .r img + u{
  25. background-image: url(http://www.charbase.com/images/glyph/174);
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <p>text<span class="emoji t">™<u></u></span> text text <span class="emoji c">©<u></u></span>2017 text <span class="emoji r">®<u></u></span>text</p>
  31. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement