forked from siddharthsonii/Hack-Fest-22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
camel.html
109 lines (103 loc) · 2.2 KB
/
camel.html
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
107
108
109
<html>
<head>
<style>
.center {
margin: 0 auto;
text-align: center;
justify-content: center;
}
body {
background-color: #212121;
/* box-sizing: border-box; */
}button::after {
content: 'REPO';
letter-spacing: 4px;
font-size: 16px;
position: absolute;
z-index: -1;
height: 40px;
transition: 500ms;
width: 0px;
overflow: hidden;
border-bottom: 2px solid var(--back2);
border-top: 2px solid var(--back2);
transform: translateY(-50%);
color: var(--back2);
}
button {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
width: 160px;
height: 40px;
cursor: pointer;
background: none;
line-height: 40px;
vertical-align: baseline;
border: none;
}
button:before {
content: 'REPO';
letter-spacing: 4px;
font-size: 16px;
transform: translateX(-50%) translateY(-50%);
position: absolute;
z-index: -1;
width: 160px;
height: 40px;
transition: 500ms;
overflow: hidden;
background: var(--back2);
}
:root {
--background: #f5f7fa;
--font1: #0ac0b7;
--font2: #f5f7fa;
--font3: #212121;
--back1: #f5f7fa;
--back2: #0ac0b7;
--back3: #212121;
--back4: #1978a5;
--highlight1: #323a45;
--highlight2: #00ddd2;
--highlight3: #1978a5;
--shadow-white: #f5f7fa;
--shadow-black: #212121;
}
button:hover:before {
width: 0px;
transform: translateY(-50%) translateX(-50%);
}
button:hover:after {
width: 160px;
transform: translateY(-50%) translateX(-50%);
}
button:focus {
outline: none;
}
:root {
--background: #f5f7fa;
--font1: #0ac0b7;
--font2: #f5f7fa;
--font3: #212121;
--back1: #f5f7fa;
--back2: #0ac0b7;
--back3: #212121;
--back4: #1978a5;
--highlight1: #323a45;
--highlight2: #00ddd2;
--highlight3: #1978a5;
--shadow-white: #f5f7fa;
--shadow-black: #212121;
}
button:hover:before {
width: 0px;
transform: translateY(-50%) translateX(-50%);
}
</style>
</head>
<body>
<div class="contain center">
<a href="https://www.google.co.in"><button class="noselect"></button></a>
</div>
</body>
</html>