---
title: "getComputedStyle(_:pseudoElement:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domdocument/getcomputedstyle(_:pseudoelement:)"
---

# getComputedStyle(_:pseudoElement:)

## Declaration

```swift
func getComputedStyle(_ element: DOMElement!, pseudoElement: String!) -> DOMCSSStyleDeclaration!
```
