We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

 

Summary

Returns the object CSSStyleDeclaration for block declaration block of the statement of the rule.

Syntax

styleObj = cssRule .style

Instance

stilo function () {
  alert (document.styleSheets [0] .cssRules [0] .style.cssText);
}
// Displays "background-color: gray;"

Letters

The declaration block is part of the style rule in brackets and set the style definition (for the selector, the part before the brackets).

Specification

DOM Level 2 CSS: style

Etiquetas y colaboradores del documento

Colaboradores en esta página: fscholz, arunpandianp, teoli, HenryGR
Última actualización por: arunpandianp,