mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Add gradient to scrollToTop
This commit is contained in:
parent
18de32497d
commit
5a11f77166
1 changed files with 1 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ export const ScrollToTop = styled.button`
|
|||
transition: all 0.2s ease-in-out;
|
||||
opacity: ${props => (props.isVisible ? '1' : '0')};
|
||||
background: ${theme.text.default};
|
||||
background-image: radial-gradient(circle at top right, #a913de, #6ac9ff);
|
||||
color: ${theme.bg.default};
|
||||
transform: translateY(${props => (props.isVisible ? '0' : '80px')});
|
||||
cursor: pointer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue