上一页 1 ··· 4 5 6 7 8 9 下一页

2020年11月6日

摘要: <script> (function(window,document,undefined){ var hearts = []; window.requestAnimationFrame = (function(){ return window.requestAnimationFrame || win 阅读全文
posted @ 2020-11-06 23:10 Arron_Ramsey 阅读(972) 评论(0) 推荐(0) 编辑
 
摘要: 1. div鼠标悬停控制子控件显示与隐藏 悬停在父辈div上,子div显示 .son{ display: none; } .father:hover .son{ display: block; } <div class="father"> SHOW <div class="son"> oky </d 阅读全文
posted @ 2020-11-06 21:16 Arron_Ramsey 阅读(2771) 评论(0) 推荐(0) 编辑
 
摘要: <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collap 阅读全文
posted @ 2020-11-06 17:37 Arron_Ramsey 阅读(622) 评论(0) 推荐(0) 编辑
 
摘要: content是当前页面元素内容时,type值为1 <script>layer.open({type: 1,title: '内容区域', content: $('#DIV_EditUserInfo'), // 设置跳转的div,跳转到对应的页面area: ["920px", "250px"],}) 阅读全文
posted @ 2020-11-06 10:13 Arron_Ramsey 阅读(359) 评论(0) 推荐(0) 编辑
 
摘要: 解决方案1 如何“悬浮”是想让一个层叠加在另一个层上的话,你可以利用相对定位和绝对定位来实现 比如: 你在父元素上设置position:relative; 在子元素上设置position:absolute;top:10px;left:10px; 这样如果父元素里面有其他元素的话 上面定义的这个子元素 阅读全文
posted @ 2020-11-06 01:28 Arron_Ramsey 阅读(1130) 评论(0) 推荐(0) 编辑

2020年11月5日

摘要: <button onmouseover="this.style.backgroundColor='red';" onmouseout="this.style.backgroundColor='';" >button</button> 阅读全文
posted @ 2020-11-05 20:42 Arron_Ramsey 阅读(496) 评论(0) 推荐(0) 编辑
 
摘要: 一个div在另一个div中垂直居中的方法 .parent { display:flex; align-items:center; } 阅读全文
posted @ 2020-11-05 20:06 Arron_Ramsey 阅读(394) 评论(0) 推荐(0) 编辑

2020年10月26日

摘要: 1. 多进程 使用的是concurrent.future from concurrent.futures import ThreadPoolExecutor, as_completed, ProcessPoolExecutor THREAD_POOL = ThreadPoolExecutor(4) 阅读全文
posted @ 2020-10-26 14:52 Arron_Ramsey 阅读(554) 评论(0) 推荐(0) 编辑

2020年10月25日

摘要: 1.Tk菜单栏参数说明 语法作用 MenuBar = tk.Menu(window) 创建一个菜单栏 fileBar = tk.Menu(MenuBar, tearoff=0) 创建一个菜单项,不分窗。 MenuBar.add_cascade(label="File", menu=fileBar) 阅读全文
posted @ 2020-10-25 22:47 Arron_Ramsey 阅读(647) 评论(0) 推荐(0) 编辑

2020年10月23日

摘要: import tkinter as tk root = tk.Tk()# root.titie("正常显示标题") # 显示标题# root.attributes("-toolwindow",1) # 只显示关闭按钮,不显示最小化和最大化root.overrideredirect(True) # 工 阅读全文
posted @ 2020-10-23 22:21 Arron_Ramsey 阅读(1775) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页