implement prefers-reduced-motion css
This commit is contained in:
parent
0e35b51ce1
commit
244e99e214
3 changed files with 29 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* dropdown menu for mobile users, used https://www.w3schools.com/howto/howto_js_dropdown.asp
|
||||
When the user clicks on the button,
|
||||
toggle between hiding and showing the dropdown content */
|
||||
// dropdown menu for mobile users, used https://www.w3schools.com/howto/howto_js_dropdown.asp
|
||||
// When the user clicks on the button,
|
||||
// toggle between hiding and showing the dropdown content
|
||||
function mobileDropdown() {
|
||||
document.getElementById("dropdown-box").classList.toggle("show-dropdown");
|
||||
}
|
||||
|
|
@ -19,11 +19,12 @@ window.onclick = function(event) {
|
|||
}
|
||||
}
|
||||
|
||||
/* snippet that copies the html for my button(s) */
|
||||
// snippet that copies the html for my button(s)
|
||||
function copyButtonRegular() {
|
||||
navigator.clipboard.writeText ('<a href="https://sneexy.pages.gay"><img src="https://sneexy.pages.gay/assets/buttons/sneexy.png" alt="Sneexy" title="Sneexy"></a>');
|
||||
alert("button html copied!");
|
||||
}
|
||||
|
||||
function copyButtonCatppuccin() {
|
||||
navigator.clipboard.writeText ('<a href="https://sneexy.pages.gay"><img src="https://sneexy.pages.gay/assets/buttons/sneexy_cat.png" alt="Sneexy" title="Sneexy"></a>');
|
||||
alert("button html copied!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue