聊天室參考範例
https://codepen.io/mehmetmert/pen/zbKpv
https://codepen.io/drehimself/pen/KdXwxR
2019年4月29日 星期一
2019年4月25日 星期四
彈窗sweetalert使用
1. swal('一般提示訊息!');
2. swal('一般提示訊息!', '小字呈現詳細資訊');
3. swal('尚未選擇照片!','' ,'error');
4. swal('關鍵字已更新完成!','' ,'success');
安裝使用方式,下載套件
https://github.com/t4t5/sweetalert/archive/master.zip
引用方式
英文版範例 https://sweetalert.js.org/guides/
中文版 http://mishengqiang.com/sweetalert/
其他實作介紹 https://jsfiddle.net/wellwind/fxh1vam6/
呼叫撰寫在頁面上
1. swal('一般提示訊息!');
2. swal('一般提示訊息!', '小字呈現詳細資訊');
3. swal('尚未選擇照片!','' ,'error');
4. swal('關鍵字已更新完成!','' ,'success');
安裝使用方式,下載套件
https://github.com/t4t5/sweetalert/archive/master.zip
引用方式
英文版範例 https://sweetalert.js.org/guides/
中文版 http://mishengqiang.com/sweetalert/
其他實作介紹 https://jsfiddle.net/wellwind/fxh1vam6/
呼叫撰寫在頁面上
訂閱:
文章 (Atom)
將物件置中的方法之一
大物件的css margin : auto ; display : flex ; 小物件的css margin : auto ; 就可以達到小物件的置中了