Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
8e024186c4 |
1 changed files with 7 additions and 8 deletions
11
footer.js
11
footer.js
|
@ -45,6 +45,7 @@ class Footer extends HTMLElement {
|
|||
|
||||
customElements.define('footer-component', Footer);
|
||||
|
||||
// @license-end
|
||||
|
||||
// CSS for the hidden button
|
||||
const style = document.createElement('style');
|
||||
|
@ -58,12 +59,10 @@ style.textContent = `
|
|||
border: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-content:hover .secret-button {
|
||||
.footer-content:hover .secret-button {
|
||||
display: block;
|
||||
}
|
||||
`;
|
||||
}
|
||||
`;
|
||||
document.head.appendChild(style);
|
||||
|
||||
// @license-end
|
Loading…
Reference in a new issue