fit-position property CSS Reference



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

.class {
fit-position: bottom ;
} 

Relative articles