Skip to content

Comment on Icono – Pure CSS icons with only one elementparent

Comments

Perfectly viable technique, though if they are written in SASS/LESS/whatever, the author could refactor the icons to mixins with a parameter that sets the scale, so the values themselves are "true".

The author could refactor them to use ems or percents instead of pixels, that way they would automatically change size depending on their parent.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.