根据之前的一些项目,总结了一下重置CSS: 1 @charset "UTF-8"; 2 3 html { 4 background: #FFF; 5 font-size: 62.5%; 6 -ms-text-size-adjust: 100%; 7 -...
分类:
Web程序 时间:
2014-07-09 22:14:56
阅读次数:
467
iOS7 中的UIViewControllers设置了automaticallyAdjustsScrollViewInsets。如果是YES,scrollview会根据status bar, navigation bar以及tool bar或者tab bar的高度自动调整。可以通过在storyboard的右侧进行设置,在Attributes Inspector中,不勾选“Adjust Scroll...
分类:
移动开发 时间:
2014-07-04 08:00:39
阅读次数:
539
功能说明:显示与设定硬件时钟。语法:hwclock[--adjust][--debug][--directisa][--hctosys][--show][--systohc][--test][--utc][--version][--set--date=<日期与时间>]补充说明:在Linux中有硬件时钟与系统时钟等两种时钟。硬件时钟是指主机板上的时钟设备,也就是通常..
分类:
系统相关 时间:
2014-07-02 15:50:02
阅读次数:
296
-webkit-text-size-adjust:none;中文版chrome浏览器里字体显示仍为12px的bug-webkit-appearance: none;修复iphone圆角的bug-webkit-tap-highlight-color:rgba(0,0,0,0);去除手机点击蓝色背景-w...
分类:
移动开发 时间:
2014-06-26 00:28:28
阅读次数:
279
Protocols and Extensions
Protocols 协议的使用
使用关键字 protocol 定义一个协议
protocol ExampleProtocol {
var simpleDescription: String { get }
mutating func adjust()
}
类,枚举和结构体都可以实现协议
class SimpleC...
分类:
其他好文 时间:
2014-06-08 17:09:31
阅读次数:
254
协议 Swift 使用protocol定义协议:1 protocol
ExampleProtocol {2 var simpleDescription: String { get }3 mutating func adjust
()4 }类型、枚举和结构都可以实现(adopt)协议...
分类:
其他好文 时间:
2014-06-06 07:48:38
阅读次数:
302
【Physics Material】1、ThePhysics Materialis used to
adjust friction and bouncing effects of colliding objects. Physicx
Material是Collider的一个属性,用于设置摩擦系数和....
分类:
其他好文 时间:
2014-06-02 01:28:37
阅读次数:
393
#includeusing namespace std;//大根堆,从小到达排序int
a[101];void swap(int &a,int &b){ a=a^b; b=a^b; a=a^b; }void adjust(int
*a,int root,int len){ int max=root;...
分类:
其他好文 时间:
2014-05-19 15:13:43
阅读次数:
219
#include "CCCGameScrollView.h"
USING_NS_CC;
USING_NS_CC_EXT;
CCCGameScrollView::CCCGameScrollView()
:m_fAdjustSpeed(ADJUST_ANIM_VELOCITY)
, m_nPrePage(0)
{
}
CCCGameScrollView::~CCCGameScrollV...
分类:
其他好文 时间:
2014-05-13 05:48:36
阅读次数:
270
1.兼容360浏览器 字体大小设置 开发中需要使用em单位1 font-size: 0.83em; 2
font-family: "Arial";3 -webkit-text-size-adjust: none;
分类:
Web程序 时间:
2014-05-10 02:34:08
阅读次数:
289