CSSRule

CSSRule

package js-html

extended by CSSCharsetRule, CSSFontFaceRule, CSSImportRule, CSSMediaRule, CSSPageRule, CSSStyleRule, CSSUnknownRule

Available on js

The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below.

Documentation CSSRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

cssText:String

read only parentRule:CSSRule

read only parentStyleSheet:CSSStyleSheet

read only type:Int

Static variables

static inline read only CHARSET_RULE:Int = 2

static inline read only FONT_FACE_RULE:Int = 5

static inline read only IMPORT_RULE:Int = 3

static inline read only MEDIA_RULE:Int = 4

static inline read only PAGE_RULE:Int = 6

static inline read only STYLE_RULE:Int = 1

static inline read only UNKNOWN_RULE:Int = 0

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/CSSRule.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部