Skip to content

Instantly share code, notes, and snippets.

@shrimp2t
Created August 10, 2018 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shrimp2t/4a72a303df1e05aa2816e4f83cacddfc to your computer and use it in GitHub Desktop.
Save shrimp2t/4a72a303df1e05aa2816e4f83cacddfc to your computer and use it in GitHub Desktop.
Get semantic ui icons. Go to https://semantic-ui.com/elements/icon.html paste this code to console.
var icons = [];
$('.icon.example').each( function( ) {
var group = $( this );
$( '.column > i', group ).each( function(){
var icon = $(this).attr('class') || '';
icons.push( icon );
} );
} );
console.log( icons.join(',') );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment