IconFontSizeMixin

external interface IconFontSizeMixin

Mixin which enables the font icon sizing fallback for browsers that do not support CSS Container Queries. In older versions of Safari, it didn't support Container Queries units used in pseudo-elements. It has been fixed in recent versions, but there's an regression in Safari 26, which caused the same issue to happen when the icon is attached to an element with shadow root. The mixin does nothing if the browser supports CSS Container Query units for pseudo elements.

Inheritors