This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Copies.js */ | |
function copyToClipboard(element) { var $temp = $("<input>"); $("body").append($temp); $temp.val($(element).text()).select(); document.execCommand("copy"); $temp.remove(); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1 | |
function oneAlert() { | |
var alertElement = document.createElement("div"); | |
alertElement.className = "alert"; | |
alertElement.innerHTML = "This alert will go"; | |
var styleElement = document.createElement("style"); | |
styleElement.textContent = ` | |
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Font face of FIFA World Cup 26. (Just support uppercase font.) | |
// From vancouverfwc26.ca's CSS. https://assets-global.website-files.com/64591cc8881aae932dfe7bc9/css/fifawc-x-vancouver.webflow.28c65bde4.css | |
@font-face { | |
font-family: 'Fwc2026 beta UltraCondensed'; | |
src: url('https://assets.website-files.com/64591cc8881aae932dfe7bc9/645923f876ac15598095c542_FWC2026-BETA-UltraCondensedBlack.ttf') format('truetype'); | |
font-weight: 900; | |
font-style: normal; | |
font-display: swap; | |
} |