-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathButton.js
More file actions
31 lines (28 loc) · 781 Bytes
/
Button.js
File metadata and controls
31 lines (28 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import styled from "styled-components";
export const Button = styled.button`
text-decoration: none;
max-width: auto;
background-color: rgb(237 2 214);
color: rgb(255 255 255);
padding: 1.4rem 2.4rem;
border:.01rem solid rgb(237 2 214);
border-radius: 2rem ;
text-transform: uppercase;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
&:hover,
&:active {
box-shadow: 0 2rem 2rem 0 rgb(132 144 255 / 30%);
box-shadow: ${({ theme }) => theme.colors.shadowSupport};
transform: scale(0.96);
}
a {
text-decoration: none;
color: rgb(255 255 255);
font-size: 1.8rem;
}
`;