function addStyle(css) {
      $(document).ready(function() {
        $('<style type="text/css">\n' + css + '\n</style>').appendTo(document.head);
      });
    }
/**
     * Add a custom stylesheet to the page.
     *
     * @param {String} css The CSS to inject.
     */
Add a custom stylesheet to the page.
@param {String} css The CSS to inject.
Add a custom stylesheet to the page . @param { String } css The CSS to inject .
function addStyle(css) {
      $(document).ready(function() {
        $('<style type="text/css">\n' + css + '\n</style>').appendTo(document.head);
      });
    }
function addStyle ( css ) { $ ( document ) . ready ( function ( ) { $ ( '<style type="text/css">\n' + css + '\n</style>' ) . appendTo ( document . head ) ; } ) ; }
Add a custom stylesheet to the page.
Add a custom stylesheet to the page .