size property CSS Reference



Definition and Usage

This property specifies the size and orientation of the containing box for page content, the page box.

  • Initial valueauto
  • Applies toPage content
  • InheritedN/A
  • MediaPaged
  • Computed valueSpecified value
  • AnimatableNo
  • CSS VersionCSS2, CSS3

Syntax

size: [value1] [value2];

Values

No detailed information


Examples

.class {
    size: 25px 54px ;
}

Relative articles