-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
45 lines (39 loc) · 936 Bytes
/
style.scss
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@import url(https://fonts.googleapis.com/css?family=Montserrat);
*{
padding: 0;
margin: 0;
}
body, html{
width: 100%;
height: 100vh;
background: linear-gradient(to right, #4bb4d2, #359051);
}
#centering{
position: relative;
top: 45vh; left: 30vw;
min-height: 10vh; min-width: 40vw;
text-transform: uppercase;
padding: .4vh;
font-weight: 1;
font-family: "Montserrat", Helvetica;
min-height: 10vh; min-width: 40vw;
border-radius: 2vh;
font-size: 6vw;
background-color: #00000020;
border: none;
color: #fff;
outline: none;
box-shadow: 2vh 2vh #00000057;
}
#centering:hover{
animation: wiggle .8s;
cursor: pointer;
}
@keyframes wiggle{
0%{transform: rotate(2deg);}
20%{transform: rotate(-2deg);}
40%{transform: rotate(2deg);}
60%{transform: rotate(-2deg);}
80%{transform: rotate(2deg);}
100%{transform: rotate(0deg);}
}