The CSSRule interface represents a single CSS rule. There are types of rules, listed in the Type constants section below.
The CSSRule interface represents a single CSS rule. There are types of rules, listed in the Type constants section below.
(css-text this)
Property.
The cssText property of the web.cssdom.CSSRule
interface returns
actual text of a web.cssdom.CSSStyleSheet
style-rule.
string = cssRule.cssText
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText
Property. The cssText property of the `web.cssdom.CSSRule` interface returns actual text of a `web.cssdom.CSSStyleSheet` style-rule. `string = cssRule.cssText` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText`
(parent-style-sheet this)
Property.
The parentStyleSheet property of the web.cssdom.CSSRule
interface
the web.cssdom.StyleSheet
object in which the current rule
defined.
var stylesheet = cssRule.parentStyleSheet
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet
Property. The parentStyleSheet property of the `web.cssdom.CSSRule` interface the `web.cssdom.StyleSheet` object in which the current rule defined. `var stylesheet = cssRule.parentStyleSheet` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet`
(set-css-text! this val)
Property.
The cssText property of the web.cssdom.CSSRule
interface returns
actual text of a web.cssdom.CSSStyleSheet
style-rule.
string = cssRule.cssText
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText
Property. The cssText property of the `web.cssdom.CSSRule` interface returns actual text of a `web.cssdom.CSSStyleSheet` style-rule. `string = cssRule.cssText` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/cssText`
(set-parent-style-sheet! this val)
Property.
The parentStyleSheet property of the web.cssdom.CSSRule
interface
the web.cssdom.StyleSheet
object in which the current rule
defined.
var stylesheet = cssRule.parentStyleSheet
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet
Property. The parentStyleSheet property of the `web.cssdom.CSSRule` interface the `web.cssdom.StyleSheet` object in which the current rule defined. `var stylesheet = cssRule.parentStyleSheet` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close