---
title: zIndex()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/domcssstyledeclaration/zindex()
---

# zIndex()

## Declaration

```swift
func zIndex() -> String!
```
