Because your element does not have the overflow:hidden property, so its content shows up entirely when you display it. So set it to overflow:hidden.
1 Like
Because your element does not have the overflow:hidden property, so its content shows up entirely when you display it. So set it to overflow:hidden.