Skip to content

Instantly share code, notes, and snippets.

Florens Verschelde fvsch

Block or report user

Report or block fvsch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fvsch
fvsch / icon.css
Created Jun 20, 2018
Twig macro and default style for SVG icons
View icon.css
/**
* Default style for SVG icons
*/
.icon {
/* Allows sizing by changing the icon’s font-size.
(It should override the element's width/height attributes, if they exist.) */
width: 1em;
height: 1em;
/* This prevents having extra space below icons, and can be overriden easily
to vertical-align:middle or vertical-align:-0.3em if needed. */
You can’t perform that action at this time.