Skip to content

Commit 22fe1cf

Browse files
committed
Make fancy image spinner
1 parent 283ac96 commit 22fe1cf

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

index.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,12 @@ Complaints are especially impactful when they are authored by a citizen of that
287287
min-width: 200px; /* Ensures space on smaller screens */
288288
margin-bottom: 20px;
289289
">
290-
<h3 style="
290+
<h3 class="outerlync" style="
291291
margin-top: 0;
292292
margin-bottom: 10px;
293293
font-size: 20px;
294294
">
295-
<img alt="Altered Deal Logo" src="altered-deal.png" width="150px" />
295+
<img class="innerlync" alt="Altered Deal Logo" src="altered-deal.png" width="150px" />
296296
</h3>
297297
</div>
298298

@@ -349,5 +349,29 @@ html, body: {
349349
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
350350
}
351351

352+
.outerlync {
353+
XXXposition: absolute;
354+
XXXtop: 50%;
355+
XXXleft: 50%;
356+
XXXmargin-right: -50%;
357+
XXXtransform: translate(-50%, -50%);
358+
display: inline-block;
359+
background: transparent;
360+
}
361+
362+
img.innerlync {
363+
XXXmax-width: 15vw;
364+
XXXmax-height: 15vh;
365+
}
366+
367+
.innerlync {
368+
transform-style: preserve-3d;
369+
transition: ease-out 0.6s;
370+
}
371+
372+
.outerlync:hover .innerlync {
373+
transition: ease-in-out 2.5s;
374+
transform: rotate(1800deg) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
375+
}
352376
</style>
353377

0 commit comments

Comments
 (0)