---
id: fast-foundation.horizontalscroll.duration
title: HorizontalScroll.duration property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [HorizontalScroll](./fast-foundation.horizontalscroll.md) &gt; [duration](./fast-foundation.horizontalscroll.duration.md)

## HorizontalScroll.duration property

The CSS time value for the scroll transition duration. Overrides the `speed` attribute.

<b>Signature:</b>

```typescript
duration: string;
```

## Remarks

When `duration` is set, the `speed` attribute has no effect.
