fit-position property

Tutorials

Definition and Usage

The ‘fit-position’ determines the alignment of the object inside the box. The values have the same meaning as the values on ‘background-position’, with the addition of the value ‘auto’.

  • Initial value0% 0%
  • Applies toReplaced elements
  • InheritedYes
  • MediaVisual
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS3

Syntax

fit-position: [percentage] | [length] | top | center | bottom | left | right | auto;

Values

No detailed information


Examples

1 .class {
2     fit-positionbottom ;
3 }
Rate article