reset.csshtml { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}body { margin: 0;}article,aside,details,f...
分类:
其他好文 时间:
2015-04-03 12:50:09
阅读次数:
268
1 Given an integer array, adjust each integers so that the difference of every adjcent integers are not greater than a given number target.2 3 If the ...
分类:
其他好文 时间:
2015-04-02 06:37:00
阅读次数:
120
通过设置android:windowSoftInputMode="" 控制展示软键盘
参数分为两类:state* 与 adjust* ,前者设置软键盘的显示与隐藏,后者设置对当前展示页面布局的影响。可以同时设置一个state*与adjust*两个参数,例如:
stateUnspecified
未指定状态,有输入框时显示软键盘,反之不展示。
stateUnchanged
状...
分类:
移动开发 时间:
2015-03-16 21:15:02
阅读次数:
227
-webkit-text-size-adjust1、当样式表里font-size<12px时,中文版chrome浏览器里字体显示仍为12px,这时可以用 html{-webkit-text-size-adjust:none;}2、-webkit-text-size-adjust放在body上会导致页...
分类:
Web程序 时间:
2015-03-13 16:00:19
阅读次数:
146
http://ivomynttinen.com/blog/the-ios-7-design-cheat-sheet/With the release of iOS 7, app designers and developers will need to adjust their visual lan...
分类:
移动开发 时间:
2015-03-05 06:47:50
阅读次数:
243
前提修改文档声明,如有疑问,请看文章手机web2.0网页文档属性@media screen and (max-device-width: 320px){body{-webkit-text-size-adjust:none}}@media screen and (max-device-width: 4...
分类:
其他好文 时间:
2015-03-03 13:12:05
阅读次数:
143
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_UNSPECIF...
分类:
其他好文 时间:
2015-02-28 12:58:02
阅读次数:
130
Given an integer array, adjust each integers so that the difference of every adjcent integers are not greater than a given number target.If the array ...
分类:
其他好文 时间:
2015-02-23 15:26:38
阅读次数:
115
1、当样式表里font-size<12px时,中文版chrome浏览器里字体显示仍为12px,这时可以用 html{-webkit-text-size-adjust:none;}2、-webkit-text-size-adjust放在body上会导致页面缩放失效3、body会继承定义在html的样式...
分类:
Web程序 时间:
2015-02-21 15:27:33
阅读次数:
165
最近遇到ios设备竖屏切换到横屏时候,字体会发生变化的情况。用以下方法可以解决此类问题-webkit-text-size-adjust : none ;-moz-text-size-adjust : none ;-ms-text-size-adjust : none ;text-size-adjus...
分类:
移动开发 时间:
2015-02-09 18:12:26
阅读次数:
277