mozilla
Los resultados de tu búsqueda

    CssRule.style

     

    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

    Contributors to this page: arunpandianp, HenryGR, fscholz, teoli
    Última actualización por: arunpandianp,