Use SVG for scroll to top button icon
This commit is contained in:
parent
b817f16013
commit
f19feef807
|
@ -1,4 +1,8 @@
|
|||
<button class="top-btn hidden" aria-label="Scroll to top">🡹</button>
|
||||
<button class="top-btn hidden" aria-label="Scroll to top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M7 11l5-5m0 0l5 5m-5-5v12" />
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<style>
|
||||
.top-btn {
|
||||
|
|
Loading…
Reference in New Issue