Skip to content

Instantly share code, notes, and snippets.

@maglietti
Created December 29, 2017 14:10
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Create a style-sheet table layout from the Icomoon style.css file
perl -lne ‘print $1 if /\.(.*):before/’ < style.css | awk ‘{ print “<div class=\“col-xs-6 col-sm-4 col-md-2\“><div class=\“twx-icon-wrapper\“><span class=\“twx-icon “$1"\” aria-hidden=\“true\“></span><div class=\“twx-icon-label\“>”$1"</div></div></div>” }’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment