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 css.CSSRule
interface returns the
text of a css.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 `css.CSSRule` interface returns the text of a `css.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 css.CSSRule
interface
the web.StyleSheet
object in which the current rule is defined.
var stylesheet = cssRule.parentStyleSheet
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet
Property. The parentStyleSheet property of the `css.CSSRule` interface the `web.StyleSheet` object in which the current rule is 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 css.CSSRule
interface returns the
text of a css.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 `css.CSSRule` interface returns the text of a `css.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 css.CSSRule
interface
the web.StyleSheet
object in which the current rule is defined.
var stylesheet = cssRule.parentStyleSheet
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/parentStyleSheet
Property. The parentStyleSheet property of the `css.CSSRule` interface the `web.StyleSheet` object in which the current rule is 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