ITeye博客

FLEXmadel模态窗口透明度设置

avanry · 2011-10-21 11:53 · Flex · Web前端 · Markdown

在application中<fx:Style>里或者主css文件中加入以下:

 

/*模态窗口背景透明设置*/
global {
modalTransparencyBlur: 0;/* 模糊度*/
modalTransparency: 0.4; /* 透明度*/
modalTransparencyColor: black;/* 背景色*/
modalTransparencyDuration: 0;/* 过渡时间*/
}

 

颜色和模糊度都可以根据需要调整

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。