x

Open in Github Open in StackBlitz
@twicpics-components
Documentation

position property

In contain mode, the position property changes the location of the image inside the area of the component.

The syntax is the same as for CSS position properties (e.g. background-position or object-position).

Useful values are top, bottom, left, and right, but all valid CSS position values are valid.

If you only need border-based positionning, you can also use anchor property.

position="top"
position="left"
No position set (center by default)
No position set (center by default)