Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICssStyle

Css style

see

MDN Web Docs - Css

Hierarchy

  • ICssStyle

Index

Properties

Optional background

background?: I3JS.Vector4 | INgxColor

The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.

Optional backgroundClip

backgroundClip?: string

The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.

Optional backgroundColor

backgroundColor?: I3JS.Vector4 | INgxColor

The background-color CSS property sets the background color of an element.

Optional backgroundImage

backgroundImage?: string

The background-image CSS property sets one or more background images on an element.

Optional backgroundPosition

backgroundPosition?: string

The background-position CSS property sets the initial position for each background image. The position is relative to the position layer set by background-origin.

Optional backgroundPositionX

backgroundPositionX?: string | number

The background-position CSS property sets the initial position for each background image. The position is relative to the position layer set by background-origin.

Optional backgroundPositionY

backgroundPositionY?: string | number

The background-position CSS property sets the initial position for each background image. The position is relative to the position layer set by background-origin.

Optional backgroundRepeat

backgroundRepeat?: string

The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.

Optional backgroundRepeatX

backgroundRepeatX?: string

The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.

Optional backgroundRepeatY

backgroundRepeatY?: string

The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.

Optional backgroundSize

backgroundSize?: string | number

The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.

Optional backgroundSizeX

backgroundSizeX?: string | number

The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.

Optional backgroundSizeY

backgroundSizeY?: string | number

The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.

Optional border

border?: string | number

The border shorthand CSS property sets an element's border. It sets the values of border-width, border-style, and border-color.

Optional borderBottom

borderBottom?: string | number

The border-bottom shorthand CSS property sets an element's bottom border. It sets the values of border-bottom-width, border-bottom-style and border-bottom-color.

Optional borderColor

borderColor?: I3JS.Vector4 | INgxColor

The border-color shorthand CSS property sets the color of an element's border.

Optional borderImage

borderImage?: string

The border-image CSS property draws an image around a given element. It replaces the element's regular border.

Optional borderImageOutset

borderImageOutset?: string | number

The border-image-outset CSS property sets the distance by which an element's border image is set out from its border box. The parts of the border image that are rendered outside the element's border box with border-image-outset do not trigger overflow scrollbars and don't capture mouse events.

Optional borderImageRepeat

borderImageRepeat?: string

The border-image-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's border image.

Optional borderImageSlice

borderImageSlice?: string | number

The border-image-slice CSS property divides the image specified by border-image-source into regions. These regions form the components of an element's border image.

Optional borderImageSource

borderImageSource?: string

The border-image-source CSS property sets the source image used to create an element's border image.

Optional borderImageWidth

borderImageWidth?: string | number

The border-image-width CSS property sets the width of an element's border image.

Optional borderLeft

borderLeft?: string | number

The border-left shorthand CSS property sets all the properties of an element's left border.

Optional borderRadius

borderRadius?: string | number

The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.

Optional borderRight

borderRight?: string | number

The border-right shorthand CSS property sets all the properties of an element's right border.

Optional borderStyle

borderStyle?: string

The border-style shorthand CSS property sets the line style for all four sides of an element's border.

Optional borderTop

borderTop?: string | number

The border-top shorthand CSS property sets all the properties of an element's top border.

Optional borderWidth

borderWidth?: string | number

The border-width shorthand CSS property sets the width of an element's border.

Optional bottom

bottom?: string | number

The bottom CSS property participates in setting the vertical position of a positioned element. It has no effect on non-positioned elements.

Optional className

className?: string

The className property of the Element interface gets and sets the value of the class attribute of the specified element.

Optional color

The color CSS property sets the foreground color value of an element's text and text decorations, and sets the value. currentcolor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.

Optional content

content?: string

The content CSS property replaces an element with a generated value. Objects inserted using the content property are anonymous replaced elements.

Optional draggable

draggable?: boolean

The draggable global attribute is an enumerated attribute that indicates whether the element can be dragged, either with native browser behavior or the HTML Drag and Drop API.

Optional fontFamily

fontFamily?: string

The font-family CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element.

Optional fontSize

fontSize?: string | number

The font-size CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative units, such as em, ex, and so forth.

Optional fontStyle

fontStyle?: string

The font-style CSS property sets whether a font should be styled with a normal, italic, or oblique face from its font-family.

Optional fontWeight

fontWeight?: string | number

The font-weight CSS property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set.

Optional height

height?: string | number

The height CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing is set to border-box, however, it instead determines the height of the border area.

Optional innerHTML

innerHTML?: string

The Element property innerHTML gets or sets the HTML or XML markup contained within the element.

Optional innerHtml

innerHtml?: string

The Element property innerHTML gets or sets the HTML or XML markup contained within the element.

Optional innerText

innerText?: string

The innerText property of the HTMLElement interface represents the "rendered" text content of a node and its descendants.

Optional left

left?: string | number

The left CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements.

Optional letterSpacing

letterSpacing?: string

The letter-spacing CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of letter-spacing causes characters to spread farther apart, while negative values of letter-spacing bring characters closer together.

Optional margin

margin?: string | number

The margin CSS shorthand property sets the margin area on all four sides of an element.

Optional marginBottom

marginBottom?: string | number

The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

Optional marginLeft

marginLeft?: string | number

The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

Optional marginRight

marginRight?: string | number

The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

Optional marginTop

marginTop?: string | number

The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.

Optional maxHeight

maxHeight?: string | number

The max-height CSS property sets the maximum height of an element. It prevents the used value of the height property from becoming larger than the value specified for max-height.

Optional maxWidth

maxWidth?: string | number

The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width.

Optional minHeight

minHeight?: string | number

The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.

Optional minWidth

minWidth?: string | number

The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.

Optional opacity

opacity?: number

The opacity CSS property sets the opacity of an element. Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.

Optional overflow

overflow?: string

The overflow CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to fit in its block formatting context — in both directions.

Optional padding

padding?: string | number

The padding CSS shorthand property sets the padding area on all four sides of an element at once.

Optional paddingBottom

paddingBottom?: string | number

The padding-right CSS property sets the width of the padding area on the bottom of an element.

Optional paddingLeft

paddingLeft?: string | number

The padding-left CSS property sets the width of the padding area to the left of an element.

Optional paddingRight

paddingRight?: string | number

The padding-right CSS property sets the width of the padding area on the right of an element.

Optional paddingTop

paddingTop?: string | number

The padding-top CSS property sets the height of the padding area on the top of an element.

Optional pointerEvents

pointerEvents?: string

The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.

Optional position

position?: string

The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.

Optional right

right?: string | number

The right CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements.

Optional src

src?: string

The HTTP Content-Security-Policy img-src directive specifies valid sources of images and favicons. The HTTP Content-Security-Policy (CSP) frame-src directive specifies valid sources for nested browsing contexts loading using elements such as and