The perspective() CSS function of the transform property sets the distance between the user and the z=0 plane. It helps us to give a 3D effect as it can make how closer or further the viewer can see the 2D or 3D elements. The perspective() value cannot be negative because the perspective(0) is the highest value where z=0 plane. If we increase the perspective() value, the distance between the user and the z=0 plane will also increase.
Join this channel to get access to perks:
/ @sirchogyal
❀ Support me on Patreon: / sirchogyal
❀ Join me on Telegram: https://telegram.im/@code8home
❀ Merch: https://my-store-6057984.creator-spri...
❀ Visit my blog at http://c815.blogspot.com
▶️ Subscribe to this channel for more videos.