情景是:div包含iframe,iframe包含一个html文件。 方法:1 包含iframe的div一个背景图片,2 iframe设置allowtransparency="true" 3 包含页面的body的css:background-color:transparent; background- ...
分类:
其他好文 时间:
2017-06-29 12:47:15
阅读次数:
130
css透明度的问题,做一下备注:.transparent_class{background:rgba(255,0,0,0.3)!important;/*IE无效,FF有效*/filter:alpha(opacity=80);-moz-opacity:0.8;-khtml-opacity:0.3;opacity:0.8;}
分类:
Web程序 时间:
2017-06-26 22:33:42
阅读次数:
158
:before 伪元素可以在元素的内容前面插入新内容。 例如在一段文字前面加一个直角三角形 css是h1:before{width: 0; height: 0; border-bottom: 100px solid red; border-right: 100px solid transparent ...
分类:
其他好文 时间:
2017-06-21 13:41:04
阅读次数:
153
select选中事件用change,(用click会执行两次); select标签对移动端的兼容: .custom-selectselect{ width:100%; margin:0; background:none; border:1px solid transparent; outline: ...
分类:
移动开发 时间:
2017-06-20 14:52:33
阅读次数:
185
border宽度不可使用百分比,受此限制,无法用于百分比布局需要; boder-color属性可继承color,因此可用于一次性优化多个布局; border可以透明,transparent属性,可利用此属性生成三角或者梯形; border-style中的double及dotted可用于创建三条短线样 ...
分类:
Web程序 时间:
2017-06-17 18:25:13
阅读次数:
156
https://www.codeproject.com/Messages/2549767/Splash-Screen.aspx https://www.codeproject.com/Articles/6511/Transparent-Splash-Screen https://www.codepr ...
复合页(Compound Page)就是将物理上连续的两个或多个页看成一个 独立的大页,它能够用来创建hugetlbfs中使用的大页(hugepage)。 也能够用来创建透明大页(transparent huge page)子系统。可是 它不能用在页缓存(page cache)中,这是由于页缓存中管 ...
分类:
其他好文 时间:
2017-06-10 19:25:22
阅读次数:
123
color: red; text-shadow: 0px 0px 0px #000; -webkit-text-fill-color: transparent;把这些放到input里文字通过阴影实现 这是把文字镂空,使它无色然后再有文字阴影把颜色加上去 ...
分类:
其他好文 时间:
2017-06-02 18:25:47
阅读次数:
176
材质球inspector面板在debug模式下可以看到Custom Render Queue一项: 其默认值为-1,表示使用相应shader的render queue设置。 也可以人为将其改为其它值,例如2000(opaque)或3000(transparent)等。 但严重不建议这样做,因为这使得 ...
分类:
编程语言 时间:
2017-05-29 22:19:30
阅读次数:
252
目的: 想给一个简单的小按钮扩大其热区在四个方向上均向外扩张10px 解决方案: 1. 常规的解决方案可能是设置一圈透明边框。 border: 10px solid transparent; 2. 但是如果按钮有背景色,那么边框很可能会扩大按钮的可视尺寸。于是可以采用background-clip属 ...
分类:
Web程序 时间:
2017-05-28 18:56:05
阅读次数:
209