---
title: "[Flex3] CSS type selectors are not supported in components XXX"
author: "SilverRing"
date: "2010-11-30T11:35:36Z"
tags: []
categories: ["Web前端"]
slug: "flex3-css-type-selectors-are-not-supported-in-components-xxx"
draft: false
lastmod: "2010-11-30T11:39:51Z"
id: 829111
url: "https://silverring.iteye.com/blog/829111"
---

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.


```java

		Label {
			font-weight: 'bold';
		}

```


replaced with


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

```