prompt实现顶部消息弹出框堆叠效果代码
代码语言:html
所属分类:弹出层
代码描述:prompt实现顶部消息弹出框堆叠效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/prompt.css"> <style> body { background-color: #fafafa; } .container { margin: 250px auto; } </style> </head> <body> <div class="container"> <h1>Alert弹出消息插件Prompt.js</h1> <p> <button class="btn btn-success" onclick="p.success('Success Message')">Success</button> <button class="btn btn-warning" onclick="p.warn('Warning Message')">Warning</button> <button class="btn btn-danger" onclick="p.error('Error Message')">E.........完整代码请登录后点击上方下载按钮下载查看
网友评论0