Please check out this link
.wrapper {
width: 200px; height: 200px; padding: 10px;
border: 1px solid #888; overflow: auto;
}
.scale {
width: 400px; height: 300px;
background-color: red;
transform: scale(0.4);
transform-origin: 0 0; transition: all 0.5s ease-in-out;
}
.scale:hover {
transform: scale(4);
}
When the inner div is visually smaller than its wrapper due to transformation, one would expect the scrollbar not to be visible.
However, there is a difference in behavior between Chrome and IE. In IE11, both x- & y-scrollbars are visible, while in Chrome only the y-scrollbar appears.
The hover effect over the inner div functions correctly.
My goal is to have no visible scrollbar in both IE and Chrome until hovering over the inner div. Is this achievable? Thank you.