The aspect-ratio property allows you to define the ratio between the width and height of an element. If both aspect ratio and width properties are set, the height will follow the defined aspect ratio. The first number specifies the width ratio, and the second specifies the height. If not set, the default value for height is one (1).
Thank you for visiting! Adding privacy policy.
© 2024 All rights reserved.
Vam je koda pomagala? Če želite podpreti moj trud pri pripravi vodičev in vzdrževanju strani, mi lahko namenite donacijo za kavo.