CSS Fit-Position Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

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'.

Syntax

fit-position: [value1] [value2]

Possible values

  • [percentage]
  • [length]
  • top
  • center
  • bottom
  • left
  • right
  • auto

Initial Value

0% 0%

Applies To

Replaced elements

Inherited

Yes

Media

Visual

Example

.class {
  fit-position: bottom ;
}


View All CSS Properties