---
title: "setBorderTopWidth(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domcssstyledeclaration/setbordertopwidth(_:)"
---

# setBorderTopWidth(_:)

## Declaration

```swift
func setBorderTopWidth(_ borderTopWidth: String!)
```
