Update css.md

This commit is contained in:
mullerivan 2014-03-03 02:40:33 -02:00
parent 41cdacba06
commit a7d1991f70

View File

@ -21,7 +21,7 @@ In your controller (e.g. `mysite/code/Page.php`):
// either specify the css file manually
Requirements::css("mymodule/css/my.css", "screen,projection");
// or mention the css filename and SilverStripe will get the file from the current theme and add it to the template
Requirements::themedCSS('print', 'print');
Requirements::themedCSS('print', null,'print');
}
}