制作这个案例前,需要准备这些。
1.掌握scss的使用,当然不用也可以,使用scss会比较高效。
2.掌握利用css3的box-shadow、border、border-radius的实现绘图。
3.掌握css3的动画方法。
4.一些耐心、一些创意(创意可以让你更好)
5.学会解析案例,先看静态图。...
分类:
Web程序 时间:
2014-09-05 08:46:41
阅读次数:
244
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4986题目意思:有 n 个box(从左到右编号依次为1~n),每个box里面有一个随机的钥匙,有可能这条钥匙恰好可以开到这个box,但大多数情况下是不能够的。问期望值是多少。(例如对于两个box,有可能装...
分类:
其他好文 时间:
2014-09-04 20:53:00
阅读次数:
248
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return all 5 uni...
分类:
其他好文 时间:
2014-09-04 18:52:29
阅读次数:
181
history | awk '{print $2;}' | grep -v '^./' | sort -d | uniq -c | sort -nr | head -n 10grep, '-v' means invert-match,'^' specify the begin of a line.s...
分类:
系统相关 时间:
2014-09-04 18:40:19
阅读次数:
231
1. [代码]容易写成自己输入URL,这里测试一个例子 #include #include #include #include #define MAXN 1024+10char url [MAXN] = "http://www.google.com:80/wiki/Search?search=tra...
分类:
编程语言 时间:
2014-09-04 16:29:59
阅读次数:
318
今天在项目中遇到check box的Content的内容缺少'_', 原因是WPF的ContentPresenter默认会把‘_’作为加速键的转义字符。 比如CheckBox的content为“_IsEnable”, 实际结果:显示为“IsEnable”; 当你按键“i”时,会触发Click事件,就可以快速的选中或者取消选中。如果想要显示‘_’, 可以将控件内部的ContentPresenter的...
分类:
其他好文 时间:
2014-09-04 15:02:49
阅读次数:
216
在xml文件中调用。android:title="@string/secure_connect"android:orderInCategory="100"android:icon="@android:drawable/ic_menu_search" android:drawableRight="@a...
分类:
移动开发 时间:
2014-09-04 13:08:29
阅读次数:
448
LeetCode: Search in Rotated Sorted ArraySuppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 ...
分类:
其他好文 时间:
2014-09-03 23:57:17
阅读次数:
467
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:
其他好文 时间:
2014-09-03 21:06:47
阅读次数:
241
#!/bin/bash log_path="./log/"dates=`date -d '-1 days' +'%Y%m%d'`cd $log_path;for i in `cat list`;do wget $i:/home/work/odp/log/search/search.log.${dat...
分类:
其他好文 时间:
2014-09-03 21:06:27
阅读次数:
205