Utilizing the transition:scale(1.2)
property to conceal a div
positioned in the lower left corner of the viewport.
Currently, the scaling effect originates from the center as intended:
I aim to scale it as if the div
occupied the entire screen:
The desired effect is achieved by scaling the entire body
. However, rather than introducing an additional parent element, I am curious to know if there is a different approach to instruct CSS on the direction of scaling.
How can I implement transition:scale(1.2)
similar to what's shown in 'DESIRED' without employing a full-size div?