/* Scss Document */ #back-to-top { position: fixed; bottom: 40px; right: 40px; z-index: 40; width: 32px; height: 32px; text-align: center; line-height: 30px; background-color: $gray; color: $white; cursor: pointer; border: 0; border-radius: 4px; text-decoration: none; transition: opacity 0.2s ease-out; opacity: 0; @include media-breakpoint-down(lg) { bottom: 90px; } &:hover { background-color: $secondarycolor; color: $white; } &.show { opacity: 1; } }