CSS Float-Offset Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

This property pushes floated elements in the opposite direction of the where they have been floated with ‘float’. If one value is specified, it is the horizontal offset. If two values are specified, the first is the horizontal and the second is the vertical offset.

Syntax

float-offset: [value1] [value2]

Possible values

  • [length]

Initial Value

0 0

Applies To

Floated elements

Inherited

No

Media

Visual, Paged

Example

.class {
  float-offset: 25px 50px ;
}


View All CSS Properties