SmallPopCSS 轻量级弹窗组件
SmallPop 是一组CSS轻量级弹窗组件。
下载引用
<link href="spop.css" rel="stylesheet"> <!-- Even better, SamallPop is made with scss, @import to your style.scss --> <script src="spop.js"></script>
调用
spop('Default SmallPop'); spop('<h4 class="spop-title">Success</h4>I´m a success SmallPop', 'success'); spop('<strong>Warning pop</strong>', 'warning'); spop('<strong>Error Here!</strong>', 'error');
评论