.bg { background-image: url(images/bg.jpg); background:url('../images/bg.jpg') no-repeat scroll center 0% 0% transparent; -webkit-background-size: cov...
分类:
其他好文 时间:
2014-08-25 18:47:34
阅读次数:
205
如果希望显示某种边框,就必须设置边框样式,比如 solid 或 outset。 从某种意义上说,利用 transparent,使用边框就像是额外的内边距一样;此外还有一个好处,就是能在你需要的时候使其可见。
分类:
Web程序 时间:
2014-08-22 17:39:59
阅读次数:
213
QPixmap pix1(":/PixmapTest/Resources/Chrysanthemum.jpg"); QPixmap temp(pix1.size()); temp.fill(Qt::transparent); QPainter p1(&temp); p1.setComposition...
分类:
其他好文 时间:
2014-08-22 12:19:06
阅读次数:
651
-webkit-tap-highlight-color: transparent; Mobile上点击链接高亮的时候设置颜色为透明-webkit-user-select: none; 设置为无法选择文本-webkit-touch-callout: none; 长按时不触发系统的菜单, 可用在图片上加...
分类:
Web程序 时间:
2014-08-21 20:57:54
阅读次数:
237
全透明代码:{background:transparent} 半透明代码:{filter:alpha(opacity=80);-moz-opacity:0.8;width:auto !important;width:100%}
分类:
Web程序 时间:
2014-08-18 12:26:04
阅读次数:
256
During normal app use, the foreground activity is sometimes obstructed by other visual components that cause the activity to pause. For example, when a semi-transparent activity opens (such as one in the style of a dialog), the previous activity pauses. As...
分类:
移动开发 时间:
2014-08-09 02:36:37
阅读次数:
366
background-attachmentbackground-attachment:scroll | fixed scroll:背景图像是随对象内容滚动。 fixed:背景图像固定。background-color:background-color:transparent | color ...
分类:
其他好文 时间:
2014-08-08 17:49:36
阅读次数:
306
现在4.x版本的,直接拉个模型进来后,点击模型,在Inspector中可以看到很多模型的属性。找到你想改变透明度的地方。比如我想更改roof更改shader渲染的方式选中Transparent(透明度)的diffuse,之后调节Main Color中的A值255为不透明,可自己调节。
分类:
其他好文 时间:
2014-08-07 18:52:10
阅读次数:
312
兼容所有浏览器的透明CSS设置:.transparent_class { filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5; } UPD...
分类:
Web程序 时间:
2014-08-07 15:39:10
阅读次数:
223
div:1、基本属性:width, height, left, top, background-color(当设置为transparent时表示透明)2、定位属性:position: absolute/relativeabsolute时,位置固定;relative时,位置会随着内容的实际情况进行浮动...
分类:
其他好文 时间:
2014-08-07 12:45:40
阅读次数:
213