Skip to content

Instantly share code, notes, and snippets.

Created December 29, 2017 14:10
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