Last active
October 9, 2019 19:13
-
-
Save markhillard/6fa8e193443c7fe148ad573f9232b7e6 to your computer and use it in GitHub Desktop.
Revisions
-
markhillard revised this gist
Oct 9, 2019 . 1 changed file with 0 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +0,0 @@ -
markhillard revised this gist
Oct 9, 2019 . 3 changed files with 13 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,9 @@ $.getJSON('https://api.github.com/emojis', function(emoji) { $.each(emoji, function(key, value) { $('.π').append('<img src="' + value + '" title="' + key + '">'); }); }); $(document).on('click', '.π img', function () { var code = $(this).attr('title'); prompt('Copy to clipboard: Ctrl+C, Enter', ':' + code + ':'); }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ padding:1rem; } .π img { cursor:pointer; height:auto; max-width:100%; width:100%; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ The Great Wall of Gitmoji ------------------------- Just using https://api.github.com/emojis to mess around with CSS grid. A [Pen](https://codepen.io/markhillard/pen/oEErdG) by [Mark Hillard](https://codepen.io/markhillard) on [CodePen](https://codepen.io). [License](https://codepen.io/markhillard/pen/oEErdG/license). -
markhillard revised this gist
Jul 3, 2018 . 1 changed file with 0 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +0,0 @@ -
markhillard revised this gist
Jul 3, 2018 . 4 changed files with 13 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ <div class="π"></div> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ $.getJSON('https://api.github.com/emojis', function(emoji) { $.each(emoji, function(key, value) { $('.π').append('<img src="' + value + '" title="' + key + '">'); }); }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,4 @@ padding:1rem; height:auto; max-width:100%; width:100%; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ The Great Wall of Gitmoji ------------------------- Just using https://api.github.com/emojis to mess around with CSS grid. A [Pen](https://codepen.io/markhillard/pen/oEErdG) by [Mark Hillard](https://codepen.io/markhillard) on [CodePen](https://codepen.io). [License](https://codepen.io/markhillard/pen/oEErdG/license). -
markhillard renamed this gist
Mar 14, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
markhillard created this gist
Mar 14, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ <em class="π"></em> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ $.getJSON("https://api.github.com/emojis", function(emoji) { $.each(emoji, function(index, value) { $('.π').append('<img src="' + value + '">'); }); }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ .π { display:grid; grid-column-gap:1rem; grid-row-gap:1rem; grid-template-columns:repeat(auto-fit, minmax(30px, 1fr)); padding:1rem; } .π img { height:auto; max-width:100%; width:100%; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ The Great Wall of Gitmoji ------------------------- Just using https://api.github.com/emojis to mess around with CSS grid. A [Pen](https://codepen.io/markhillard/pen/oEErdG) by [Mark Hillard](https://codepen.io/markhillard) on [CodePen](https://codepen.io). [License](https://codepen.io/markhillard/pen/oEErdG/license).