In CSS3, when applying transform: scale to zoom effects on child elements, there can be issues if the parent div has overflow: hidden and border-radius applied. This can cause the child element to extend beyond the parent div's boundaries.
To resolve this issue, try adding transform: translateZ(0) to the wrapper element. This technique helps with CSS performance, and in this case, it can prevent the child element from overflowing the parent div. See the recommended link for more details on translateZ(0).
The above is the detailed content of How to Prevent Transform Scale Overflowing in Chrome with Overflow: Hidden and Border-Radius?. For more information, please follow other related articles on the PHP Chinese website!