-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhover.css
More file actions
32 lines (29 loc) · 763 Bytes
/
Copy pathhover.css
File metadata and controls
32 lines (29 loc) · 763 Bytes
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
body {
padding: 0;
margin: 0;
}
body {
height: 100px;
display: flex;
justify-content: center;
align-items: center;
font-family: system;
font-size: 50px;
background: #ffffff;
}
div {
padding: 50px;
}
.gradient-underline {
text-decoration: none;
color: black;
background-image: linear-gradient(90deg, blue, purple, #f3bc26);
background-size: 0% 2px;
background-repeat: no-repeat;
background-position: left bottom;
transition: background-size 300ms;
font-size: 15px;
}
.gradient-underline:hover {
background-size: 100% 2px;
}