{"id":2385,"date":"2017-04-24T20:53:29","date_gmt":"2017-04-24T20:53:29","guid":{"rendered":"http:\/\/cssreset.com\/?p=2385"},"modified":"2017-04-24T20:53:29","modified_gmt":"2017-04-24T20:53:29","slug":"top-10-css-snippets-for-emojis","status":"publish","type":"post","link":"https:\/\/cssdeck.com\/blog\/top-10-css-snippets-for-emojis\/","title":{"rendered":"Top 10 CSS Snippets for Emojis"},"content":{"rendered":"<p>Is it just us, or does it feel like emojis are taking over the world? Or at the very least, they&#8217;re definitely taking over the internet, and they don&#8217;t seem to be going away anytime soon. If you want your projects to get in on the emoji craze, there are dozens of different ways you can implement the cute little smiley faces and icons into just about any site. Not sure how to get started? Take a look at our curated list of the top ten coolest emoji-centric code snippets that can easily be added to your projects.<\/p>\n<p>1. <a href=\"http:\/\/codepen.io\/AshBardhan\/pen\/dNKwXz\" target=\"_blank\">Facebook Emoji Reactions<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/AshBardhan\/pen\/dNKwXz\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2389 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.17.45 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.17.45-PM-1024x196.png\" width=\"1024\" height=\"196\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.17.45-PM-1024x196.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.17.45-PM-300x57.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.17.45-PM-180x34.png 180w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>By now, pretty much everyone is probably familiar with Facebook&#8217;s animated reaction emojis, which can be used to &#8220;react&#8221; (rather than just &#8220;like&#8221; like we did back in the old days) to another person&#8217;s post. This code snippet shows you how you can use purely HTML and CSS to create the same animated emojis for yourself..<\/p>\n<p>2. <a href=\"http:\/\/codepen.io\/chriscoyier\/pen\/EVamGp\" target=\"_blank\">Emoji Toggles<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/chriscoyier\/pen\/EVamGp\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2390 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.28.04 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.28.04-PM.png\" width=\"598\" height=\"602\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.28.04-PM.png 598w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.28.04-PM-150x150.png 150w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.28.04-PM-298x300.png 298w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.28.04-PM-180x181.png 180w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A unique take on both toggles and emojis, this snippet creates an effect that smoothly changes the emoji when the toggle functionality is triggered. Instead of toggling something on or off, you&#8217;re toggling the emoji you see &#8212; so when you trigger the thumbs up toggle, for example, it becomes a thumbs down.<\/p>\n<p>3. <a href=\"http:\/\/codepen.io\/ajerez\/pen\/ZYMWKe\" target=\"_blank\">CSS Emojis<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/ajerez\/pen\/ZYMWKe\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2391 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.30.29 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.30.29-PM-1024x154.png\" width=\"1024\" height=\"154\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.30.29-PM-1024x154.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.30.29-PM-300x45.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.30.29-PM-180x27.png 180w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.30.29-PM.png 1996w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Here&#8217;s a collection of three cute animated CSS emojis that would make a great addition to any project. One emoji makes a kissing face, another opens and closes its mouth, and the third one looks from side to side.<\/p>\n<p>4. <a href=\"http:\/\/codepen.io\/balapa\/pen\/ZQpjEB\" target=\"_blank\">Interactive Emoji<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/balapa\/pen\/ZQpjEB\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2392 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.32.11 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.32.11-PM-1024x513.png\" width=\"1024\" height=\"513\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.32.11-PM-1024x513.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.32.11-PM-300x150.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.32.11-PM-180x90.png 180w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.32.11-PM.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This snippet uses SVG to create animated, interactive emojis. The interactive part is where the user is able to control the emotion displayed by the emojis by choosing from one of four expressions &#8212; standard (shown above), wink, rage, and happy.<\/p>\n<p>5. <a href=\"http:\/\/codepen.io\/danielcgold\/pen\/mAYGrk\" target=\"_blank\">Emoji Hats<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/danielcgold\/pen\/mAYGrk\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2393 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.33.59 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.33.59-PM.png\" width=\"422\" height=\"370\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.33.59-PM.png 422w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.33.59-PM-300x263.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.33.59-PM-180x157.png 180w\" sizes=\"(max-width: 422px) 100vw, 422px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Add a dapper-looking top hat to any of your favorite emojis with this code snippet. This one might not be super useful, but seriously&#8230;what&#8217;s cuter than a puppy in a top hat?<\/p>\n<p>6. <a href=\"http:\/\/codepen.io\/tholman\/pen\/rxJpdQ\" target=\"_blank\">Emoji Cursor<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/tholman\/pen\/rxJpdQ\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2394 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.36.10 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.36.10-PM.png\" width=\"560\" height=\"388\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.36.10-PM.png 560w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.36.10-PM-300x207.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.36.10-PM-180x124.png 180w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This code snippet creates a trail of classic smiley face emojis that follow your cursor around the viewport. Emojis range from smiling to laughing to laugh-crying.<\/p>\n<p>7. <a href=\"http:\/\/codepen.io\/kizu\/pen\/PzGadO\" target=\"_blank\">Coloring Emojis<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/kizu\/pen\/PzGadO\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2395 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.37.59 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.37.59-PM.png\" width=\"564\" height=\"488\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.37.59-PM.png 564w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.37.59-PM-300x259.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.37.59-PM-180x155.png 180w\" sizes=\"(max-width: 564px) 100vw, 564px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This simple tutorial demonstrates how to use CSS&#8217;s filter properties and hue values to easily and quickly transform the color of your standard-issue emojis.<\/p>\n<p>8. <a href=\"http:\/\/codepen.io\/levchenkod\/pen\/VYKXOR\" target=\"_blank\">Twemoji<\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/codepen.io\/levchenkod\/pen\/VYKXOR\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2396\" alt=\"Screen Shot 2017-04-20 at 5.43.17 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.43.17-PM-1024x291.png\" width=\"1024\" height=\"291\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.43.17-PM-1024x291.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.43.17-PM-300x85.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.43.17-PM-180x51.png 180w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.43.17-PM.png 1040w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Twemoji is a textarea input field where you can input emojis rather than text! Much more fun than a boring old text input field that only supports keyboard characters.<\/p>\n<p style=\"text-align: left;\">9. <a href=\"http:\/\/codepen.io\/mandymichael\/pen\/mWXGZp\" target=\"_blank\">Split Emojis<\/a><\/p>\n<p style=\"text-align: left;\"><a href=\"http:\/\/codepen.io\/mandymichael\/pen\/mWXGZp\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2397 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.44.58 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.44.58-PM-1024x130.png\" width=\"1024\" height=\"130\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.44.58-PM-1024x130.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.44.58-PM-300x38.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.44.58-PM-180x22.png 180w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.44.58-PM.png 1306w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">This cool snippet shows you how you can split emojis in half using only html and css. With this snippet, you can create hybrid emojis, like a heart that&#8217;s half yellow and half green, or a face that&#8217;s half happy and half angry.<\/p>\n<p style=\"text-align: left;\">10. <a href=\"http:\/\/codepen.io\/Haroenv\/pen\/mEYGPq\" target=\"_blank\">Emoji Alphabet<\/a><\/p>\n<p style=\"text-align: left;\"><a href=\"http:\/\/codepen.io\/Haroenv\/pen\/mEYGPq\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2398 aligncenter\" alt=\"Screen Shot 2017-04-20 at 5.46.37 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.46.37-PM-1024x342.png\" width=\"1024\" height=\"342\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.46.37-PM-1024x342.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.46.37-PM-300x100.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.46.37-PM-180x60.png 180w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-20-at-5.46.37-PM.png 1400w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">This fun snippet uses JavaScript to assign each letter of the alphabet it&#8217;s own corresponding emoji, then it provides you with an input field where you can type in characters and emojis will be rendered that are meant to represent those characters &#8212; pretty cool to play around with!<\/p>\n<p>&nbsp;<\/p>\n<div class=\"wp-socializer wpsr-share-icons \" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\" ><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\">0<\/span><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-32px sr-circle sr-opacity sr-pad sr-count-1 sr-count-1\"><span class=\"sr-facebook\"><a rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\"  title=\"Share this on Facebook\"  style=\"color: #ffffff\" ><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\"  title=\"Tweet this !\"  style=\"color: #ffffff\" ><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\"  title=\"Add this to LinkedIn\"  style=\"color: #ffffff\" ><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\"  title=\"Submit this to Pinterest\"  style=\"color: #ffffff\" data-pin-custom=\"true\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-print\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Print this article \"  style=\"color: #ffffff\" ><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Convert to PDF\"  style=\"color: #ffffff\" ><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Is it just us, or does it feel like emojis are taking over the world? Or at the very least, they&#8217;re definitely taking over the internet, and they don&#8217;t seem to be going away anytime soon. If you want your [&#8230;]<\/p>\n<p><a class=\"more-link article\" href=\"https:\/\/cssdeck.com\/blog\/top-10-css-snippets-for-emojis\/\" title=\"Click to read 'Top 10 CSS Snippets for Emojis'\">Read Article<\/a><\/p>\n","protected":false},"author":18,"featured_media":2398,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,1],"tags":[],"_links":{"self":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/2385"}],"collection":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/comments?post=2385"}],"version-history":[{"count":3,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/2385\/revisions"}],"predecessor-version":[{"id":2400,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/2385\/revisions\/2400"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media\/2398"}],"wp:attachment":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media?parent=2385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/categories?post=2385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/tags?post=2385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}