## The CssFontSource object This object is used to pass custom fonts via a stylesheet URL when creating an [Elements](/js/elements_object/create.md) object. - `cssSrc` (string) 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://fonts.googleapis.com/css?family=Open+Sans ``` If you use a [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) (CSP), the file might require [additional directives](/security/guide.md#content-security-policy).