ipf-overflow
Specifies what happens when the element overflows.
- Format:
ipf-overflow
(OverflowX,OverflowY)OverflowX and OverflowY can be
visible
,hidden
,scroll
orauto
. Usingvisible
means that the content is visible even if it overflows. Usinghidden
means that the content is hidden if it overflows. Usingscroll
means that scrollbars will always be present, no matter if the content overflows or not. Usingauto
means that scrollbars will be present if the content overflows, but not otherwise. An overflow can occur when a maximum width or height is set for the container.If one of the dimensions is set to
visible
and the other to a value other thanvisible
, the dimension set tovisible
behaves as though it was set toauto
. For example,ipf-overflow(visible,hidden)
will behave likeipf-overflow(auto,hidden)
. To ensure a correct behavior in the future, it is recommended to not usevisible
in one dimension in combination with a value other than thevisible
value in the other. - Default parameter values:
- OverflowX:
visible
- OverflowY:
auto
- OverflowX:
- Not inherited