每次面对iphone这种丑丑的样式,我简直不能再愉快的写代码~~而且每次记不住那烦人的属性~~~必须记录下来~~-webkit-appearance:none 为了下次不用再百度,终于背下来~~~
分类:
其他好文 时间:
2015-09-15 19:46:32
阅读次数:
123
*{ -webkit-text-size-adjust: none;} input[type="button"], input[type="submit"], input[type="reset"] { -webkit-appearance: none;}textarea { -...
分类:
移动开发 时间:
2015-09-14 15:32:11
阅读次数:
203
// 初始化导航栏外观效果- (void)initialNavigationBarStyle{ // 1. 获取导航栏的外观代理对象 UINavigationBar *navBar = [UINavigationBar appearance]; // 2. 设置背景图片 [navBar s...
分类:
其他好文 时间:
2015-09-14 00:21:32
阅读次数:
1740
首先是边框的去除:可以设置属性border:none;或border:0px;不过这还是有一个bug,不同浏览器会在选中select标签时,加上一个边框;之后是右侧倒三角的去除:设置属性appearance:none;以下所有属性兼容当前主流浏览器:appearance:none; -moz-app...
分类:
Web程序 时间:
2015-09-12 23:33:41
阅读次数:
513
IOS,input出现阴影:input[type="text"],input[type="email"],input[type="search"],input[type="number"],input[type="password"] { -webkit-appearance: none; /...
分类:
其他好文 时间:
2015-09-10 15:47:09
阅读次数:
116
开发中常见错误和警告总结(三十三)动画冲突错误: Unbalanced calls to begin/end appearance transitions for 解决方法1:去掉动画 解决方法2:监听当前view的动画是否完成解决方法就是,加一个BOOL型的变量,检查是否在做动画。 1 2 ...
分类:
移动开发 时间:
2015-09-09 22:48:36
阅读次数:
192
CAGradientLayer CAGradientLayeris used to generate a smooth gradient between two or more colors. 是用来产生渐变色的。 It's possible to replicate the appearance ...
分类:
其他好文 时间:
2015-09-09 17:12:10
阅读次数:
300
IDE Settings[Theme]->选择Darcula,暗色调看着比较舒服;[Appearance]->勾选 [Override default fonts by] -> 微软雅黑,12;[Editor]->Colors & Fonts 首先设置 Scheme name,这里先要 save 一...
分类:
其他好文 时间:
2015-09-09 11:22:23
阅读次数:
438
在chrome下:input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{ -webkit-appearance: none !important; margin: 0;}Firefox下:input[type="numbe...
分类:
Web程序 时间:
2015-09-09 06:16:55
阅读次数:
745
1.设置字体Window-->Prefernces-->General-->Appearance-->ColorandFonts-->Basic-->Fonts2.显示行号General-->Editors-->TextEditor-->Showlinenumbers3.编程风格设置Java-->CodeStyle-->Formatter-->.....4.代码自动提示Java-->Edito..
分类:
系统相关 时间:
2015-09-01 18:33:15
阅读次数:
238