共用方式為


IHTMLCSSStyleDeclaration3 interface

Represents a single Cascading Style Sheets (CSS) declaration block.

Members

The IHTMLCSSStyleDeclaration3 interface inherits from the IUnknown interface. IHTMLCSSStyleDeclaration3 also has these types of members:

  • Properties

Properties

The IHTMLCSSStyleDeclaration3 interface has these properties.

Property Access type Description

align-content

Read/write

Specifies how a flex item's lines align within the flex container when there is extra space along the axis that is perpendicular to the axis defined by the IHTMLCSSStyleDeclaration3::flexdirection property.

align-items

Read/write

Specifies the alignment value (perpendicular to the layout axis defined by the IHTMLCSSStyleDeclaration3::flexdirection property) of flex items in the flex container.

align-self

Read/write

Specifies the alignment value (perpendicular to the layout axis defined by the IHTMLCSSStyleDeclaration3::flexdirection property) of flex items of the flex container.

flex

A shorthand property that specifies the parameter values of a flexible length, the positive and negative flexibility, and the preferred size specified by the IHTMLCSSStyleDeclaration3::flex-grow, IHTMLCSSStyleDeclaration3::flex-shrink, and IHTMLCSSStyleDeclaration3::flex-basis properties.

flex-direction

Read/write

Specifies the direction of the main axis which specifies how the flex items are displayed in the flex container.

flex-wrap

Read/write

Specifies whether flex items wrap and the direction they wrap onto multiple lines or columns based on the space available in the flex container.

justify-content

Read/write

Specifies a how flex items are aligned along the main axis of the flex container after any flexible lengths and auto margins are resolved.

 

Requirements

Product

IE11