UNPKG

@vcl/vcl

Version:

The whole VCL in one package

28 lines (16 loc) 527 B
# [VCL](https://vcl.github.io/vcl/) go-to-top A fixed positioned control to jump to the top of a scrolled viewport. ## Features This component is a specialization of the [button component](https://github.com/vcl/button). ## Usage The vertical placement is `1em` to the bottom of the viewport. Horizontally it should be placed right to the element with the `app` class with `+1em` offset. [basic example](/demo/example.html) ## Classes - `go-to-top` ## Modifiers ## Variables - `$gototop-color` - `$gototop-bg-color`