-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path27thclass.html
More file actions
106 lines (97 loc) · 1.84 KB
/
27thclass.html
File metadata and controls
106 lines (97 loc) · 1.84 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
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<!-- <p>Date:11/December/2023</p>
<p>Day: wednessday</p>
<p>Class=no </p> -->
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
gap: 40px;
background: #27282c;
}
a{
position: relative;
background: #444;
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: 1.5em;
letter-spacing: 0.1em;
font-weight: 400;
padding: 10px 30px;
transition: 0.5s;
}
a:hover{
letter-spacing: 0.25em;
background: var(--clr);
box-shadow: 0 0 35px var(--clr);
}
a::before{
content: "" ;
position: absolute;
inset: 2px;
background: #27282c;
}
a span{
position: relative;
z-index: 1;
}
a i{
position: absolute;
inset: 0;
display: block;
}
a i::before{
content: "";
position: absolute;
left:80%;
top: -3.5px;
width: 10px;
height: 5px;
border: 2px solid #fff;
background: #27282c;
transform: translateX(-50%);
transition: 0.5s;
}
a:hover i::before{
width: 20px;
left: 20%;
}
a i::after{
content: "";
position: absolute;
left:20%;
bottom: -3.5px;
width: 10px;
height: 5px;
border: 2px solid #fff;
background: #27282c;
transform: translateX(-50%);
transition: 0.5s;
}
a:hover i::after{
width: 20px;
left: 80%;
}
</style>
<a href="#" style="--clr:#1e9bff"><span>Button</span><i></i></a>
<!-- <a href="#" style="--clr:#ff1862"><span>Button</span><i></i></a> -->
</body>
</html>