-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (71 loc) · 1.5 KB
/
style.css
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #15121c;
font-size: 20px;
padding: 0 20px 30px 0;
line-height: 1.4;
display: flex;
align-items: center;
flex-direction: column;
}
.title{
color: black;
background-color: #bb87fd;
padding: 20px;
margin: 20px;
border-radius: 10px;
}
#container{
height: 200px;
display: flex;
align-items: flex-end;
}
.bar{
width:10px;
background-color: #fefeff;;
margin: 1px;
}
.swappingbars{
background-color: red;
}
.button {
border: none;
display: block;
text-align: center;
margin: 20px;
cursor: pointer;
text-transform: uppercase;
outline: none;
overflow: hidden;
position: relative;
color: #ffffff;
font-weight: 600;
font-size: 15px;
background-color:#2c2b3d ;
padding: 15px 50px;
margin: 0 auto;
}
.button span {
margin: 20px;
position: relative;
z-index: 1;
}
.button:after {
content: "";
position: absolute;
margin: 20px;
left: 0;
top: 0;
height: 470%;
width: 140%;
background: #bb87fd;
-webkit-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
-webkit-transform: translateX(-100%) translateY(-25%) rotate(45deg);
transform: translateX(-100%) translateY(-25%) rotate(45deg);
}
.button:hover:after {
margin: 20px;
-webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
transform: translateX(-9%) translateY(-25%) rotate(45deg);
}