-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2385dd
commit 8fca824
Showing
3 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<script> | ||
import { onMount } from 'svelte'; | ||
import finger from './images/pointer-finger.svg'; | ||
</script> | ||
|
||
<div class="relative top-12 left-12 p-1 w-12 h-12"> | ||
<img | ||
class="self-center w-fit object-cover max-w-48 max-h-48" | ||
src={finger} | ||
alt="Drag link to tab bar or click to copy link" | ||
/> | ||
</div> | ||
|
||
<!-- CSS animation should sweep the pointer up to middle of the top of the screen (top-0), disappear, then start back to origin and sweep up again infinitely --> | ||
|
||
<style> | ||
@keyframes sweep { | ||
0% { | ||
transform: translateY(0); | ||
} | ||
50% { | ||
transform: translateY(-450%); | ||
} | ||
100% { | ||
transform: translateY(0); | ||
} | ||
} | ||
img { | ||
animation: sweep 3s infinite; | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters