ys_toast.css.ys-toast{
position:fixed;
left:0;
right:0;
top:0;
bottom:0;
z-index:?999999;
}
.ys-toast>em{
position:absolute;
line-height:?24px;
text-align:?center;
border-
分类:
其他好文 时间:
2017-12-30 21:24:21
阅读次数:
153
Description You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct way ...
分类:
其他好文 时间:
2017-12-30 20:27:08
阅读次数:
124
1、 2、 3、offset([coordinates]) 获取匹配元素在当前视口的相对偏移。 返回的对象包含两个整型属性:top 和 left,以像素计。此方法只对可见元素有效。 a、获取当前元素的偏移量 b、设置当前元素的偏移量的两种方式 ①使用值对,比如 {top:100,left:0} ②使 ...
分类:
Web程序 时间:
2017-12-30 17:04:28
阅读次数:
164
#file操作要点:针对桌面的aaa.txt with open(r'C:\Users\xuyin\Desktop\aaa.txt','r')as f: x1=f.read() #得到一个字符串 print type(x1) print(x1) f.seek(0,0) print(1) x2=f.r ...
分类:
编程语言 时间:
2017-12-30 16:00:07
阅读次数:
159
题目描述 网址:https://www.luogu.org/problemnew/show/3721 大意: 有一颗单旋Splay(Spaly),以key值为优先度,总共有5个操作。 [1] 插入一个节点,需返还插入后此节点的深度。 [2] 把最小点 单旋 到根,需要返还旋转前此点深度。 [3] 把 ...
分类:
其他好文 时间:
2017-12-30 12:06:37
阅读次数:
155
博客 学院http://bbs.csdn.net/topics/392028373 下载 GitChat 更多 登录注册 博客 学院http://bbs.csdn.net/topics/392028373 下载 GitChat 更多 登录注册 博客 学院http://bbs.csdn.net/top ...
分类:
Web程序 时间:
2017-12-30 00:24:42
阅读次数:
429
结构 样式 行为真正的分离 前端初级人员会在页面上单纯的用各个div把相关内容独立开; 前端中级人员明白相关属性的设置会给元素带来什么改变,从而减少div的书写; 前端高级人员会以及其简单的和稳定的方式实现相应的效果。 代码展示: <!DOCTYPE html> <html> <head> <met ...
分类:
Web程序 时间:
2017-12-29 23:33:47
阅读次数:
246
1. 前言 上一小结说了插件的创建,这一节主要怎么编写代码,以及具体流程之类的。2. 增加一句Hello World 修改 ./deps/emq_plugin_wunaozai/src/emq_plugin_wunaozai.erl 增加一行Hello World 增加后,保存 这样就把最新版本复制 ...
分类:
其他好文 时间:
2017-12-29 21:50:27
阅读次数:
356
class fanyi{ public function fahui($res) { $url="http://api.fanyi.baidu.com/api/trans/vip/translate"; $q=urlencode($res); $from="auto"; $to="auto"; $a... ...
分类:
Web程序 时间:
2017-12-29 21:01:13
阅读次数:
353
复合属性—background 如果同时设置了background-color和background-image时,背景颜色会被图片覆盖。 background-image: 用作背景的图片,background:url( ); 如果将背景设置为图片,那么我们就要考虑以下几个属性了。 backgro ...
分类:
Web程序 时间:
2017-12-29 20:55:47
阅读次数:
134