flex css透明度 [英] flex css transparency
本文介绍了flex css透明度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图使TabNavigator中的所有标签页的背景完全透明(通过CSS),但是我无法正确完成这一操作。
I'm trying to make the background of all tabs from a TabNavigator completely transparent (via CSS), but somehow I can't get this done correctly.
这是我到目前为止:
TabNavigator
{
tabStyleName: "tabNavTab";
fillAlphas: 0, 0, 0, 0;
backgroundAlpha: 0;
focusAlpha: 0;
borderStyle: none;
}
.tabNavTab
{
fillAlphas: 0, 0, 0, 0;
backgroundAlpha: 0;
borderStyle: none;
focusAlpha: 0;
}
但是标签页仍然有边框,非活动标签页仍然有一个微小的渐变白色到透明。
But the tabs still have borders and the inactive tabs still have a tiny gradient from white to transparent.
我缺少什么?
编辑:
我明白了。我必须设置upSkin,downSkin ...属性。
I got it. I have to set the upSkin, downSkin... properties, too!
推荐答案
我总是推荐使用style explorer:
I always recommend the use of the style explorer:
http:/ /examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html
帮助我处理几乎所有的CSS问题。
Helps me with almost all of my CSS issues.
这篇关于flex css透明度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文