Compare commits

..

1 commit
main ... main

View file

@ -45,6 +45,7 @@ class Footer extends HTMLElement {
customElements.define('footer-component', Footer); customElements.define('footer-component', Footer);
// @license-end
// CSS for the hidden button // CSS for the hidden button
const style = document.createElement('style'); const style = document.createElement('style');
@ -58,12 +59,10 @@ style.textContent = `
border: none; border: none;
font-size: 24px; font-size: 24px;
cursor: pointer; cursor: pointer;
} }
.footer-content:hover .secret-button { .footer-content:hover .secret-button {
display: block; display: block;
} }
`; `;
document.head.appendChild(style); document.head.appendChild(style);
// @license-end