如何增加PNotify字体大小?
问题描述:
增加PNotify通知字体大小的最佳方法是什么?如何增加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文件来更改字体大小。