【发布时间】:2020-03-09 07:05:56
【问题描述】:
我的 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 应用到盒子上。我可能误用了主题选项,但我很难找到很多关于它的文档。
【问题讨论】:
标签: javascript jquery css jgrowl