mode property
Themode property determines if the image fills or sits inside the area.
Here are the two accepted values:
- cover: the image fills the area and is cropped accordingly.
- contain: the image sits inside the area with no cropping.
Themode property determines if the image fills or sits inside the area.
Here are the two accepted values: