Z
Z
zwezew2018-04-16 07:22:10
css
zwezew, 2018-04-16 07:22:10

Is it possible to animate svg with css if icon font is used?

Is it possible to animate svg with css if icon font is used? Those. by hover, etc.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Belkin, 2018-04-16
@zwezew

Your question is not clear, but rather the relationship between svg and icon font.
If you packed svg icons into a font and use it through it, then you can animate everything that regular text has: size (via font-size or transform), color (but only monochrome, you can’t set color for specific elements of the icon), others transformations via transform. Because the icon in this case is a text symbol, then the styles are applied to the element inside which this symbol is either on the parent above if the nearest parents do not overlap anything with their styles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question