ICode9

精准搜索请尝试: 精确搜索
  • Bootstrap告警框(alert)实现弹出效果和短暂显示后上浮消失2022-08-03 18:00:06

    最近用到bootstrap的告警框时发现只有html的说明,就自己写了一个弹出告警框和弹出短暂显示后上浮消失的告警框。 直接上JS代码了,可以copy过去直接用(使用bootstrap的UI框架的情况下)   var commonUtil = { /** * 弹出消息框 * @param msg 消息内容 * @param typ

  • JS 技巧2022-02-22 09:33:22

    vue 实现 Bootstrap 样式自定义消息提示框 部分UI框架没有消息提示框比如bootstrap,用两个方法来实现 /** * 弹出消息框 * @param msg 消息内容 * @param type 消息框类型(参考bootstrap的alert) */ alert: function (msg, type) { if (typeof (type) == "undefined") { //

  • 编码练习:使用 JavaScript 改变网页的颜色2022-02-10 14:00:14

    <html> <head> </head> <body> <h1>Paragraph 1</h1> <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim fringilla dapibus. Curabitur placerat efficitur molestie. Quisque quis consequat n

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有