## The CssFontSource object

This object is used to pass custom fonts via a stylesheet URL when creating an [Elements](https://docs.stripe.com/js/elements_object/create.md) object.

- `cssSrc`
A relative or absolute URL pointing to a CSS file with [@font-face](https://developer.mozilla.org/en/docs/Web/CSS/@font-face) definitions. The file must be hosted on https. For example:

```https
https://fonts.googleapis.com/css?family=Open+Sans
```

If you use a [content security policy](https://docs.stripe.com/security/guide.md#content-security-policy) (CSP), the file might require [additional directives](https://docs.stripe.com/security/guide.md#content-security-policy).