I have this typical layout https://i.imgur.com/yQKIULI.png and when the content section is scaled out, I need to make only the content section to be scrollable but keep other sections fixed. The scrollbars need to be attached to the content div when performing the scaling with the transform CSS property.
Please take a look at the playground provided above.
Transform won’t work for zooming in the way you desire. You’d probably want to increase font-size when zooming. Its container should have overflow: auto; so a scroll bar will appear when there’s insufficient room for the content.
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.