-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (85 loc) · 1.48 KB
/
style.css
File metadata and controls
96 lines (85 loc) · 1.48 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
* {
margin: 0;
padding: 0;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
letter-spacing: 4px;
}
.container {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
text-align: center;
min-height: 100vh;
}
.btn-1 {
width: 300px;
height: 100px;
border: none;
color: white;
background-color: rgb(255, 0, 68);
border-radius: 4px;
box-shadow: inset 0 0 0 0 #f9e506;
font-weight: bolder;
transition: ease-out 0.3s;
font-size: 2rem;
outline: none;
}
.btn-1:hover {
box-shadow: inset 300px 0 0 0 #f9e506;
cursor: pointer;
color: black;
}
/* second button */
.btn-2 {
width: 300px;
height: 100px;
border: none;
color: white;
border-radius: 4px;
transition: ease-out 0.3s;
font-size: 2rem;
outline: none;
background-color: #43fbf2;
border: 3px solid #42fbf2;
position: relative;
z-index: 1;
}
.btn-2:hover {
color: #fff;
cursor: pointer;
}
.btn-2:before {
transition: 0.5s ease;
position: absolute;
top: 0;
left: 50%;
right: 50%;
bottom: 0;
opacity: 0;
content: "";
background-color: #ff0049;
}
.btn-2:hover:before {
transition: 0.5s all ease;
left: 0;
right: 0;
opacity: 1;
z-index: -1;
}
.side-1 {
background-color: #252521;
width: 50%;
height: 100vh;
}
.side-2 {
background-color: #ff0049;
width: 50%;
height: 100vh;
}
.sides {
display: flex;
align-items: center;
justify-content: center;
}