-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
68 lines (62 loc) · 1.25 KB
/
style.css
File metadata and controls
68 lines (62 loc) · 1.25 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
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
width: 100%;
gap: 20px 0px;
}
.btn{
border: none;
outline:none;
background-color: blue;
border-radius: 10px;
cursor: pointer;
color: white;
font-size: 25px;
text-decoration: none;
position: relative;
padding: 10px;
}
.load-text{
transform: translateX(-100px);
transition: transform 0.2s linear;
color: white;
font-size: 20px;
}
.load-text.text{
transform:translateX(0px);
}
.load{
overflow: hidden;
border: 1px solid rgb(180, 180, 180);
padding: 5px;
width: 90%;
max-width: 500px;
height: 30px;
position: relative;
display: flex;
justify-content: flex-start;
align-items: center;
}
.load::before{
background-color: yellow;
position: absolute;
content: " ";
inset: 0;
transform: scaleX(0);
transform-origin: right;
transition: transform 0.8s ease-in-out;
z-index: -1;
}
.load.active::before{
transform: scaleX(1);
transform-origin: left;
}