---
title: "createCSSStyleSheet(_:media:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domimplementation/createcssstylesheet(_:media:)"
---

# createCSSStyleSheet(_:media:)

## Declaration

```swift
func createCSSStyleSheet(_ title: String!, media: String!) -> DOMCSSStyleSheet!
```
