看到一篇文章想法不错,记录下来。原文地址https://css-tricks.com/rems-ems/rem(root em),也是相对长度单位,与em不同的是以根元素的font-size为基准,因此避免了em的层叠效果带来的麻烦。于是很多人开始使用rem布局。html { font-size: ...
分类:
其他好文 时间:
2015-12-25 16:47:16
阅读次数:
146
最近看了一篇关于如何提高UITableView性能的文章,英文原版的地址:https://medium.com/ios-os-x-development/perfect-smooth-scrolling-in-uitableviews-fd609d5275a5#.jet1gcbax,看完之后将重要的...
分类:
移动开发 时间:
2015-12-23 01:51:47
阅读次数:
212
最近在看一本书《Windows游戏编程大师技巧》 (Tricks of Windows Game Programming Gurus). 第一章给出了一个打砖块小游戏的示例程序. 包括三个文件: blackbox.h, blackbox.cpp和freakout.cpp (600行代码, 对于Win...
分类:
其他好文 时间:
2015-12-18 18:49:14
阅读次数:
198
转帖:https://css-tricks.com/prefetching-preloading-prebrowsing当提到前端性能优化时,我们首先会联想到文件的合并、压缩,文件缓存和开启服务器端的 gzip 压缩等,这使得页面加载更快,用户可以尽快使用我们的 Web 应用来达到他们的目标。资源预...
分类:
其他好文 时间:
2015-12-14 21:07:59
阅读次数:
211
在新的support design中,CoordinatorLayout可以说是最重要的一个控件了,CoordinatorLayout给我们带来了一种新的事件的处理方式——behavior,你是不是还记得我们在使用CoordinatorLayout的时候,一些子view需要一段,
app:layout_behavior="@string/appbar_scrolling_view_behavio...
分类:
其他好文 时间:
2015-12-14 10:59:12
阅读次数:
1297
https://css-tricks.com/在safari浏览器中添加transform规则,如果没有效果,把该规则的原始元素以块状显示http://webdesignerwall.com/trends/47-amazing-css3-animation-demoshttp://kb.cnblog...
分类:
其他好文 时间:
2015-11-30 20:17:24
阅读次数:
202
(一)Scrolling the Isometric TilemapWith the tilePosFromLocation method updated to work with isometric tilemaps, theTilemap06 project continues by imple...
分类:
其他好文 时间:
2015-11-25 16:53:46
阅读次数:
143
用了eclipse很久,在使用断点调试的时候才开始关注图标的含义。这才发现eclipse的图标还是很丰富的,熟悉的知道每个图标的含义还是蛮不错的,尤其是在断点调试中。eclipse自带了详细的图标说明,下面来看看怎么打开这个说明:步骤一:打开Help -> Tips and Tricks 步骤二:打...
分类:
系统相关 时间:
2015-11-19 18:52:00
阅读次数:
192
A natural DFS thought. Several pruning tricks can be applied. Please take care of date type(long long).class Solution { bool _check(string a, strin...
分类:
其他好文 时间:
2015-11-19 07:03:34
阅读次数:
128
1. 布局框架:Bootstrap:http://getbootstrap.com/Foundation:http://foundation.zurb.com/Uikit:http://www.getuikit.com/Web Components:http://css-tricks.com/mod...
分类:
其他好文 时间:
2015-11-15 23:19:39
阅读次数:
231