我的 Jgrowl 代码是:
$(document).ready(function() {
$.jGrowl("<strong>Error!</strong><br />An invalid ID was passed and your template could not be loaded", { sticky: true, theme: 'test' });
});
我在 Jgrowl CSS 中的 CSS 是:
.test{
background-color: #000000;
}
但它没有将该 CSS 应用到盒子上。我可能误用了主题选项,但我很难找到很多关于它的文档。