+ 1

Scroll issue

Hi, I want to scale a div into another div but it's smaller... I use the property overflow: scroll in container however, the content into the scaled block (greater div into the smaller one) I can scroll down and see the content but not the upper one... Any idea? (Ps: see the example) https://sololearn.com/compiler-playground/W2ol0853XPDh/?ref=app

14th Feb 2024, 9:50 PM
Marco Cárdenas
Marco Cárdenas - avatar
1 Respuesta
+ 1
document.getElementById('in').style .transform = 'scale(1,5) translate(0,40px)';
14th Feb 2024, 11:51 PM
Solo
Solo - avatar