# loadCSSFromString

**Kind:** Function

Injects CSS from a string into the page. Returns the HTML style element inserted into the page.

```js
import {loadCSSFromString} from '@airtable/blocks/interface/ui';
loadCSSFromString('body { background: red; }');
```

**Parameters:**
- `css` (`string`) — The CSS string.

**Returns:** `HTMLStyleElement`
