select { /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/ border: solid 1px #000; /*很关键:将默认的select选择框样式清除*/ appearance:none; -moz-appearance:none; -webkit-appeara ...
分类:
Web程序 时间:
2016-12-15 17:24:06
阅读次数:
140
iOS后属性带UI_APPEARANCE_SELECTOR 可以统一设置全局作用 例如: 1>开关控件 @property(nullable, nonatomic, strong) UIColor *onTintColor NS_AVAILABLE_IOS(5_0) UI_APPEARANCE_SE ...
分类:
移动开发 时间:
2016-12-13 06:25:41
阅读次数:
273
每次打开IDEA的时候总会加载上级最后打开的工程,可能这个工程并不是我需要的,我就得重新去打开我需要的工程,感觉这一点非常鸡肋。 使用如下方法可以在启动的时候,选择启动哪个工程,而不是直接进入。 File >Appearance&Behavior >System Settings >Reopen l ...
分类:
其他好文 时间:
2016-12-11 15:27:04
阅读次数:
143
工作时发现无论是使用ctrl+F搜索还是查看提交的注释中文都是口,看的本小白十分蛋疼菊紧,所以抽时间找了方法去搞定它。 首先点击左上角的File,选择Setting 然后选择Appearance & Behavior,在Appearance的右侧,勾选Override default fonts b ...
分类:
Web程序 时间:
2016-12-10 18:50:17
阅读次数:
204
☆☆☆☆☆ input:disabled { -webkit-text-fill-color: rgba(0, 0, 0, 1); -webkit-opacity: 1; } 去掉button/select的默认按钮样式 appearance:none; -moz-appearance:none; ...
分类:
其他好文 时间:
2016-12-02 11:46:40
阅读次数:
228
Css代码如下 .al-toggle-button{ appearance: none; -webkit-appearance: none; position: relative; width: 52px; height: 32px; background: #dfdfdf; border-radi ...
分类:
移动开发 时间:
2016-11-30 02:29:01
阅读次数:
260
另外,字体和编码设置(如果需要显示中文):Options->Session Options->Appearance->font(字体:幼圆,字形:常规,大小:小三号,字符集:中文GB2312),character encoding:utf-8(不能选GB2312) 详细配置: ...
分类:
其他好文 时间:
2016-11-17 15:57:41
阅读次数:
148
1、ios下input会有圆角的问题. -webkit-appearance:none; 2、阻止冒泡: event.cancelbubble=true; event.stopProgration(); 3、阻止默认事件: 例如 input type=“submit” 提交时,不符合条件的数据不提交 ...
分类:
其他好文 时间:
2016-11-11 14:24:54
阅读次数:
222
IOS环境下的按钮都是经过美化的,但通常我们在设计web app的时候不需要这些看上去老土的样式,所以,去除这些显得很有必要。 下面这句代码就是重置这些样式的: -webkit-appearance: none; ...
分类:
移动开发 时间:
2016-10-29 07:46:28
阅读次数:
133
*{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;-webkit-appearance:none;outline:non ...
分类:
其他好文 时间:
2016-10-27 01:08:40
阅读次数:
350