1. 使用变量;
$highlight-color: #F90;
.selected {
border: 1px solid $highlight-color;
}
//编译后
.selected {
border: 1px solid #F90;
}
2. 嵌套CSS 规则;
#content {
article {
h1 { color: #333 }...
分类:
其他好文 时间:
2015-08-18 11:56:22
阅读次数:
121
文字1int coolvoid main(){ cout<<"hello world!"<<endl}文字2
分类:
其他好文 时间:
2015-08-11 13:52:41
阅读次数:
130
{
????//字体
????"font_face":?"Consolas",
????//字号
????"font_size":?11,
????//高亮
????"highlight_line":?true,
????//行高
????"line_padding_bottom":?2,
????...
分类:
其他好文 时间:
2015-08-11 12:29:57
阅读次数:
166
本文出自:http://blog.163.com/hsb001_mobile/blog/static/15524028020111177221254/1、-webkit-tap-highlight-color:rgba(255,255,255,0)可以同时屏蔽ios和android下点击元素时出现的...
分类:
移动开发 时间:
2015-08-10 17:38:23
阅读次数:
139
1,tap后会出现一个半透明的灰色背景,(被批...),起初以为是outline作怪,加上后发现没反应,最后发现是tap后的背景高亮,要重设这个表现,则需要设置-webkit-tap-highlight-color为所需色彩,直接透明吧:a,img,button,input,textarea{-webkit-tap-highlight-color:rgba(255,255,255,0);}
2,...
分类:
移动开发 时间:
2015-08-10 16:14:17
阅读次数:
150
1、-webkit-tap-highlight-color:rgba(255,255,255,0)可以同时屏蔽ios和android下点击元素时出现的阴影。 备注:transparent的属性值在android下无效。 2、-webkit-appearance:none可以同时屏蔽输入框怪异的内阴影...
分类:
移动开发 时间:
2015-08-10 15:05:00
阅读次数:
196
/*这一句是用来解决在安卓上的点击出现篮框问题*/body{ -webkit-tap-highlight-color:rgba(0,0,0,0); }/*下面是解决ios上去除微信点击蓝色边框 */a:focus,input:focus,p:focus,div:focus{-webkit-tap-h...
分类:
移动开发 时间:
2015-08-06 12:32:37
阅读次数:
255
直接上代码*{-webkit-tap-highlight-color:rgba(255,0,0,0);}我是直接给每一个都加了这个属性 其实没有必要 因为 只有a 标签 input 标签 和textarea 等form中的一些标签才会出现这种问题 所以你也可以只给需要家的加上 但是我比较懒 嘿嘿解释...
分类:
其他好文 时间:
2015-08-03 18:16:34
阅读次数:
156
1、忽略将页面中的数字识别为电话号码2、去掉点击元素会出现蓝框* { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }3、事件问题移动端的常用事件:touchstart,touchmove,touchend。很多时候我们需要在浏览器里测试。...
分类:
Web程序 时间:
2015-07-29 15:45:44
阅读次数:
148
Python版本为3.4.3 直接看官方文档。。。记录当笔记 https://docs.python.org/3/library/re.html?highlight=re#module-re 和一般的正则表达式不同,Python用想表示一个'\'必须用'\\',而正则表达式中是用'\\'表...
分类:
编程语言 时间:
2015-07-29 15:40:19
阅读次数:
172