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);
|
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
|
|
Loading…
Reference in a new issue