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