ITeye博客

[Flex3] CSS type selectors are not supported in components XXX

SilverRing · 2010-11-30 11:35 · Flex · Web前端 · Markdown

This warning probably means CSS type selectors are defined or the css file is referenced in a custom component.

Solution one:

Move the type selectors definition into the main application.

Solution two:

Replace the type selectors with class selectors.


		Label {
			font-weight: 'bold';
		}

replaced with


		.label {
			font-weight: 'bold';
		}

评论(0)

暂无评论。

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