增加 PNotify 通知字体大小的最佳方法是什么?
new PNotify({
title: "Title",
text: "Some information more.",
type: "notice"
})
来自 here
最佳答案
我没有看到任何内置的方法来做到这一点。您应该将 addclass: "someClass"
添加到初始化中,然后通过编写 .someClass .ui-pnotify-text { font-size: 1.25em }
更改字体大小将标题的描述文本和 .someClass .ui-pnotify-title { font-size: 1.25em }
添加到您的自定义 CSS 文件中。
关于css - 如何增加 PNotify 字体大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43873149/