# CSS

A CSS asset contains CSS code. You can create a new CSS asset in the Editor or by uploading a file with a `.css` extension.

To edit a CSS asset, right click on it in the Editor and select Edit.

## Inspector

[Image: CSS Asset Inspector]

The CSS asset inspector displays a preview of the CSS code contained in the asset.

## Properties

This asset type has no configurable properties in the Inspector. It displays a read-only preview of the CSS code.

:::tip
To use this asset in scripts, see [Asset Attributes](https://developer.playcanvas.com/user-manual/scripting/script-attributes/esm.md#asset-attribute).
:::
