CssStyleSheetInit Class

https://drafts.csswg.org/cssom/#dictdef-cssstylesheetinit

public sealed class CssStyleSheetInit

Constructors

NameDescription
CssStyleSheetInit()

CssStyleSheetInit()

CssStyleSheet.cs
public CssStyleSheetInit()

No documentation is available.

Properties

NameDescription
BaseUrlGets the base URL used to resolve the relative URLs of the style sheet.
DisabledGets a value indicating whether the style sheet is created disabled.
MediaGets the media queries associated with the style sheet, as a MediaList or a string.

Gets the base URL used to resolve the relative URLs of the style sheet.

public string? BaseUrl { get; init; }

Gets a value indicating whether the style sheet is created disabled.

public bool Disabled { get; init; }

Gets the media queries associated with the style sheet, as a MediaList or a string.

public MediaListOrString Media { get; init; }