ahhhh
This commit is contained in:
parent
bf69abdcc5
commit
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);
|
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');
|
||||||
|
@ -59,10 +58,12 @@ 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