-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreative-button.css
More file actions
60 lines (52 loc) · 1.13 KB
/
Creative-button.css
File metadata and controls
60 lines (52 loc) · 1.13 KB
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
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&displayer=swap');
#creative-button{
margin: 0;
padding: 0;
height: 50vh;
font-family: 'Poppins', sans-serif;
}
.Creative-container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.Creative-container a {
position: relative;
width: 300px;
height:75px;
margin: 10px 0;
font-size: 24px;
color: #000;
display: inline-flex;
justify-content: center;
align-items: center;
text-decoration: none;
transition: 0.5s;
}
.Creative-container a:hover {
color: #fff;
}
.Creative-container a::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: url('btn-bg1.png');
background-size: cover;
transform-origin: left;
transition: 0.5s;
}
.Creative-container a:nth-child(2)::before {
background: url('btn-bg2.png');
background-size: cover;
}
.Creative-container a:hover::before {
width: 100%;
}
.Creative-container a span {
position: relative;
z-index: 1;
}