先看一下效果图:
用如下代码,想弹出一个模态窗口,设置它的背景透明度为0.5,却发觉prsent后的背景色变为黑色的。
ShareVC *share = [[ShareVC alloc] init];
[self presentViewController:share animated:YES completion:nil];
起初还以为是设置透明度或者是[UIColor clear...
分类:
其他好文 时间:
2014-08-05 22:41:00
阅读次数:
339
body
{
background:#444;
}
.rect
{
border:1px solid #94F;
width:680px;
height:680px;
}
.gridred
{
width:38px;
height:38px;
background:red;
border:1px #555 solid;
float:left
}
.gridgreen
{
width:38p...
分类:
编程语言 时间:
2014-08-05 22:38:20
阅读次数:
357
当需要区分IE7与FireFox时,可用#divcss5{background:blue; /*Firefox 背景变蓝色*/*background:green !important; /*IE7 背景变绿色*/}
分类:
Web程序 时间:
2014-08-05 13:52:49
阅读次数:
265
有两种让IE6支持position:fixed1.用CSS执行表达式*{margin:0;padding:0;}* html,* html body{ background-image:url(about:blank); background-attachment:fixed;}* html ......
分类:
其他好文 时间:
2014-08-05 13:46:49
阅读次数:
260
body{ background-image:url(about:blank); background-attachment:fixed; /*ie 防抖动*/}.fix_to_top { _position:absolute; _top:expression(eval(document...
分类:
其他好文 时间:
2014-08-05 09:28:58
阅读次数:
448
body{ background-image:url(about:blank); background-attachment:fixed; /*ie 防抖动*/}.fix_to_top { _position:absolute; _top:expression(eval(document.docu....
分类:
其他好文 时间:
2014-08-05 09:27:58
阅读次数:
243
一 摘要
本文通过实例演示WPF值转换器的应用,并在演示过程中,对WPF值转换器的相关知识点进行解释说明。
二 实例演示
1 新建WPF应用程序ConverterExp,程序结构如下图所示。
图1 程序结构图
程序的主画面如下图所示。
图2 程序主画面
程序完成功能:通过画面中的ComboBox控件改变TextBlock控件的Background值。ComboBox...
分类:
其他好文 时间:
2014-08-05 00:51:08
阅读次数:
338
.box { width: 100px; height: 100px; background: red;} .bd { width: 100%; padding: 10px; background: black;} 如上结构,子元素将会溢出解决方法:CSS3: 加入box-...
分类:
其他好文 时间:
2014-08-05 00:20:58
阅读次数:
211
文艺平衡树Fromadmin背景 Background此为平衡树系列第二道:文艺平衡树描述 Description您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作:翻转一个区间,例如原有序序列是54321,翻转区间是[2,4]的话,结果是52341输入格式 Input...
分类:
其他好文 时间:
2014-08-05 00:10:08
阅读次数:
303
CSS 背景属性属性描述background简写属性,作用是将背景属性设置在一个声明中。background-attachment背景图像是否固定或者随着页面的其余部分滚动。background-color设置元素的背景颜色。background-image把图像设置为背景。background-p...
分类:
Web程序 时间:
2014-08-04 21:15:07
阅读次数:
310