File tree Expand file tree Collapse file tree 2 files changed +129
-1
lines changed
Expand file tree Collapse file tree 2 files changed +129
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,70 @@ unknown@kali:~# cat /home/unknown/identity.json
5050}
5151
5252```
53+ <style >
54+ .glitch-wrapper {
55+ width : 100% ;
56+ height : 100% ;
57+ display : flex ;
58+ align-items : center ;
59+ justify-content : center ;
60+ text-align : center ;
61+ }
62+
63+ .glitch {
64+ position : relative ;
65+ font-size : 120% ;
66+ letter-spacing : 1px ;
67+ z-index : 1 ;
68+ }
69+
70+ .glitch :before ,
71+ .glitch :after {
72+ display : block ;
73+ content : attr (data-text );
74+ position : absolute ;
75+ top : 0 ;
76+ left : 0 ;
77+ opacity : 0.8 ;
78+ }
79+
80+ .glitch :before {
81+ animation : glitch-it 0.8s cubic-bezier (0.25 , 0.46 , 0.45 , 0.94 ) both infinite ;
82+ color : #00FFFF ;
83+ z-index : -1 ;
84+ }
85+
86+ .glitch :after {
87+ animation : glitch-it 0.8s cubic-bezier (0.25 , 0.46 , 0.45 , 0.94 ) reverse both infinite ;
88+ color : #FF00FF ;
89+ z-index : -2 ;
90+ }
91+
92+ tr {
93+ color : #a072b7 ;
94+ }
95+
96+ @keyframes glitch-it {
97+ 0% {
98+ transform : translate (0 );
99+ }
100+ 20% {
101+ transform : translate (-0.6px , 0.6px );
102+ }
103+ 40% {
104+ transform : translate (-0.6px , -0.6px );
105+ }
106+ 60% {
107+ transform : translate (0.6px , 0.6px );
108+ }
109+ 80% {
110+ transform : translate (0.6px , -0.6px );
111+ }
112+ to {
113+ transform : translate (0 );
114+ }
115+ }
116+ </style >
53117
54118<div class =" glitch-wrapper " >
55119 <h2 ><div class =" glitch " data-text =" whoami " style =" color : #46473e ;" >whoami</div ></h2 >
Original file line number Diff line number Diff line change @@ -187,7 +187,71 @@ <h3 id="connarlocalhost-whoami">connar@localhost:~$ whoami<a hidden class="ancho
187187</ span > </ span > < span style ="display:flex; "> < span > < span style ="color:#f92672 "> ]</ span > ,
188188</ span > </ span > < span style ="display:flex; "> < span > < span style ="color:#e6db74 "> "Age"</ span > : < span style ="color:#e6db74 "> "23"</ span >
189189</ span > </ span > < span style ="display:flex; "> < span > < span style ="color:#f92672 "> }</ span >
190- </ span > </ span > </ code > </ pre > </ div > < div class ="glitch-wrapper ">
190+ </ span > </ span > </ code > </ pre > </ div > < style >
191+ .glitch-wrapper {
192+ width : 100% ;
193+ height : 100% ;
194+ display : flex;
195+ align-items : center;
196+ justify-content : center;
197+ text-align : center;
198+ }
199+
200+ .glitch {
201+ position : relative;
202+ font-size : 120% ;
203+ letter-spacing : 1px ;
204+ z-index : 1 ;
205+ }
206+
207+ .glitch : before ,
208+ .glitch : after {
209+ display : block;
210+ content : attr (data-text);
211+ position : absolute;
212+ top : 0 ;
213+ left : 0 ;
214+ opacity : 0.8 ;
215+ }
216+
217+ .glitch : before {
218+ animation : glitch-it 0.8s cubic-bezier (0.25 , 0.46 , 0.45 , 0.94 ) both infinite;
219+ color : # 00FFFF ;
220+ z-index : -1 ;
221+ }
222+
223+ .glitch : after {
224+ animation : glitch-it 0.8s cubic-bezier (0.25 , 0.46 , 0.45 , 0.94 ) reverse both infinite;
225+ color : # FF00FF ;
226+ z-index : -2 ;
227+ }
228+
229+ tr {
230+ color : # a072b7 ;
231+ }
232+
233+ @keyframes glitch-it {
234+ 0% {
235+ transform : translate (0 );
236+ }
237+ 20% {
238+ transform : translate (-0.6px , 0.6px );
239+ }
240+ 40% {
241+ transform : translate (-0.6px , -0.6px );
242+ }
243+ 60% {
244+ transform : translate (0.6px , 0.6px );
245+ }
246+ 80% {
247+ transform : translate (0.6px , -0.6px );
248+ }
249+ to {
250+ transform : translate (0 );
251+ }
252+ }
253+ </ style >
254+ < div class ="glitch-wrapper ">
191255 < h2 > < div class ="glitch " data-text ="whoami " style ="color: #46473e; "> whoami</ div > </ h2 >
192256</ div >
193257< div style ="text-align: center; ">
You can’t perform that action at this time.
0 commit comments