We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39de78b + a96739f commit ea6c622Copy full SHA for ea6c622
docs/api-reference/next/image.md
@@ -103,6 +103,7 @@ viewports and scale up for larger viewports.
103
104
When `fill`, the image will stretch both width and height to the dimensions of
105
the parent element, provided the parent element is relative. This is usually paired with the [`objectFit`](#objectFit) property.
106
+Ensure the parent element has `position: relative` in their stylesheet.
107
108
Try it out:
109
0 commit comments