mode property
The mode 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.
The mode property determines if the image fills or sits inside the area.
Here are the two accepted values: