User:DodoMan/snowflake.js: Difference between revisions
From Test Wiki
Content deleted Content added
Created page with "// Loading the CSS for snowflakes importStylesheet("User:Rafdodo/snowflake.css"); console.log("%c[Snowflake]%c The `snowflake` user script has been loaded successfully. Enjoy the snowflakes!", "color: aqua", ""); function createSnowflake() { const snowflake = document.createElement('div'); snowflake.classList.add('snowflake'); snowflake.textContent = '❄'; snowflake.style.left = Math.random() * 100 + 'vw'; snowflake.style.opacity = Math.random(); snowflake.styl..." |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
// Loading the CSS for snowflakes |
// Loading the CSS for snowflakes |
||
importStylesheet("User: |
importStylesheet("User:DodoMan/snowflake.css"); |
||
console.log("%c[Snowflake]%c The `snowflake` user script has been loaded successfully. Enjoy the snowflakes!", "color: aqua", ""); |
console.log("%c[Snowflake]%c The `snowflake` user script has been loaded successfully. Enjoy the snowflakes!", "color: aqua", ""); |
||