2016年9月18日
摘要: 明白何谓Margin Collapse 不同于其他很多属性,盒模型中垂直方向上的Margin会在相遇时发生崩塌,也就是说当某个元素的底部Margin与另一个元素的顶部Margin相邻时,只有二者中的较大值会被保留下来,可以从下面这个简单的例子来学习: ? .square { width: 80px; 阅读全文
posted @ 2016-09-18 15:49 熊哥club 阅读(855) 评论(1) 推荐(1) 编辑
摘要: 大家好哈,最近博主在学习Python,学习期间也遇到一些问题,获得了一些经验,在此将自己的学习系统地整理下来,如果大家有兴趣学习爬虫的话,可以将这些文章作为参考,也欢迎大家一共分享学习经验。 Python版本:2.7,Python 3请另寻其他博文。 首先爬虫是什么? 网络爬虫(又被称为网页蜘蛛,网 阅读全文
posted @ 2016-09-18 11:32 熊哥club 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1.输入输出 输出实例 1 2 print 'hello','world' hello world 1 2 print 'hello','world' hello world 1 2 1 2 print 'hello','world' hello world print 'hello','world 阅读全文
posted @ 2016-09-18 11:31 熊哥club 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 文本框输入邮箱自动联想补全 阅读全文
posted @ 2016-09-18 11:21 熊哥club 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 鼠标移到图片放大效果 阅读全文
posted @ 2016-09-18 11:20 熊哥club 阅读(971) 评论(0) 推荐(0) 编辑
摘要: 网站banner无缝轮播 阅读全文
posted @ 2016-09-18 11:19 熊哥club 阅读(657) 评论(0) 推荐(0) 编辑
摘要: Linux下清理内存和Cache方法 /proc/sys/vm/drop_caches 频繁的文件访问会导致系统的Cache使用量大增 free内存减少到几十兆,系统运行缓慢 运行sync将dirty的内容写回硬盘$sync 通过修改proc系统的drop_caches清理free的cache$ec 阅读全文
posted @ 2016-09-18 10:26 熊哥club 阅读(6276) 评论(0) 推荐(1) 编辑

熊哥club Fork me on GitHub