You can now set an icon size through size
attribute. The sizes set through size
attribute overrides the CSS size style. If you don't set either the size attribute or the CSS size
style, the size defaults to 16 by 16 pixels.
<clr-icon shape="info" size="12"></clr-icon>
<clr-icon shape="info" size="16"></clr-icon>
<clr-icon shape="info" size="36"></clr-icon>
<clr-icon shape="info" size="48"></clr-icon>
<clr-icon shape="info" size="64"></clr-icon>
<clr-icon shape="info" size="72"></clr-icon>
.icon-size-[sm/md/lg]
classes
are being deprecated and will be removed in 0.8.0.