Examples
Documentation
Usage
Class | Applied to | Outcome |
---|---|---|
.pf-v6-c-back-to-top | <div> | Initiates the back to top component. Required |
.pf-m-hidden | .pf-v6-c-back-to-top | Modifies the component to be hidden. |
CSS variables
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--InsetInlineEnd | 3rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--InsetBlockEnd | 1.5rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--md--InsetBlockEnd | 3rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--c-button--FontSize | 0.75rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--c-button--PaddingBlockStart | 0.25rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--c-button--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--c-button--PaddingBlockEnd | 0.25rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--c-button--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-back-to-top | --pf-v6-c-back-to-top--c-button--BoxShadow | 0px
1px
4px
0px
rgba(41, 41, 41, 0.1500) | ||
| ||||
.pf-v6-c-back-to-top .pf-v6-c-button | --pf-v6-c-button--FontSize | 0.75rem | ||
| ||||
.pf-v6-c-back-to-top .pf-v6-c-button | --pf-v6-c-button--PaddingBlockStart | 0.25rem | ||
| ||||
.pf-v6-c-back-to-top .pf-v6-c-button | --pf-v6-c-button--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-back-to-top .pf-v6-c-button | --pf-v6-c-button--PaddingBlockEnd | 0.25rem | ||
| ||||
.pf-v6-c-back-to-top .pf-v6-c-button | --pf-v6-c-button--PaddingInlineStart | 0.5rem | ||
|