input::-webkit-input-placeholder{
color:green;}input::-webkit-input-placeholder { color:
#999;}input:-moz-placeholder { color: #999;}// c...
分类:
其他好文 时间:
2014-06-06 22:42:48
阅读次数:
179
display:box;display:-webkit-box;display:-moz-box;来设置元素为盒元素。box-flex:num;-webkit-box-flex:num;-moz-box-flex:num;来设置元素的弹性布局。注意:元素的弹性布局增加的长度为((盒子总长度-已有的元...
分类:
其他好文 时间:
2014-06-06 10:40:17
阅读次数:
245
.destination1 .current{ display:block;
animation:danru 2s linear infinite; -webkit-animation:danru 2s linear alternate
; -moz-animatio...
分类:
其他好文 时间:
2014-06-04 20:53:25
阅读次数:
332
移动互联网是未来的发展趋势,现在国内很多互联网大佬都在争取移动这一块大饼,如微信及支付宝是目前比较成功的例子,当然还有各种APP和web运用。由于公司的需要,最近也在开发移动web,对于一个没有移动开发经验的人来说,其实也是比较困恼的一件事情。对于移动web开发目前主要是基于webkit内核的浏览器...
分类:
其他好文 时间:
2014-06-03 16:16:08
阅读次数:
407
* placeholder 在 focus 状态下内容为空时,依然显示文字。和
IE11,Firefox 均不一致;input:focus::-webkit-input-placeholder { color: transparent;}
分类:
Web程序 时间:
2014-06-03 12:58:41
阅读次数:
278
1、在Qt中使用 WebKit 浏览器核心使用 QtWebKit
需要在工程文件(*.pro)中加入:1. QT+=webkit 2.
QT+=network2、QtWebKit的flash支持QtWebKit到固定的路径(NPAPI插件厂商的安装路径)下载入flash控件,如果需要flash支持,...
分类:
Web程序 时间:
2014-06-02 08:06:42
阅读次数:
356
在进行多栏布局时,使用bootstrap的栅格系统可以很轻松的实现效果,其实css3本身也提供了多兰布局的功能。
比如,我们在一个section标签内填充了很多内容,同时希望内容能够显示成三列,那么可以通过如下css来实现(使用chrome浏览器)。
设置分栏的数量
section {
-webkit-column-count: 3;
}
根据宽度分栏
section {
-w...
分类:
Web程序 时间:
2014-06-02 04:46:04
阅读次数:
289
1 moz-box-shadow: 0 0 10px #888;2
-webkit-box-shadow: 0 0 10px#888;3 box-shadow: 0 0 10px #888;
分类:
Web程序 时间:
2014-05-30 07:02:25
阅读次数:
181
.oLi-lists-scroll::-webkit-scrollbar { width:5px;
padding:1px; background:url(../images/repeat-bar.png) repeat-y;}/* Track
*/.oLi-lists-scroll::-webki...
分类:
Web程序 时间:
2014-05-29 19:02:39
阅读次数:
386
.fixed {position: fixed;top: -5px;left: 0;width:
100%;box-shadow: 0 0 3px #f2f2f2;-webkit-box-shadow: 0 0 3px
#f2f2f2;-moz-box-shadow: 0 0 3px #f2f2f2...
分类:
其他好文 时间:
2014-05-28 22:41:25
阅读次数:
311