---
id: fast-element.styletarget.removechild
title: StyleTarget.removeChild() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [StyleTarget](./fast-element.styletarget.md) &gt; [removeChild](./fast-element.styletarget.removechild.md)

## StyleTarget.removeChild() method

Removes styles from the target.

<b>Signature:</b>

```typescript
removeChild(styles: HTMLStyleElement): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  styles | HTMLStyleElement | The styles element to remove. |

<b>Returns:</b>

void
