---
id: fast-element.elementstyles
title: ElementStyles class
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [ElementStyles](./fast-element.elementstyles.md)

## ElementStyles class

Represents styles that can be applied to a custom element.

<b>Signature:</b>

```typescript
export declare abstract class ElementStyles 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [create](./fast-element.elementstyles.create.md) | <code>static</code> | [ElementStyleFactory](./fast-element.elementstylefactory.md) | Create ElementStyles from ComposableStyles. |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [withBehaviors(behaviors)](./fast-element.elementstyles.withbehaviors.md) |  | Associates behaviors with this set of styles. |
