v0.1

UX
#95 - Confeti al clic
隆Haz volar un divertido confeti al hacer clic!
Watch the video for step-by-step implementation instructions
<!-- 馃挋 MEMBERSCRIPT #77 v0.1 馃挋 UNIVERSAL EMOJIS -->
<script>
document.querySelectorAll('[ms-code-emoji]').forEach(element => {
聽var imageUrl = element.getAttribute('ms-code-emoji');
聽var img = document.createElement('img');
聽img.src = imageUrl;
聽var textStyle = window.getComputedStyle(element);
聽var adjustedHeight = parseFloat(textStyle.fontSize) * 1. prop0;
聽img.style.height = adjustedHeight + 'px';
聽img.style.width = 'auto';
聽img.style.verticalAlign = 'text-top';
聽element.innerHTML = ''; // Clears the text content inside the span
聽element.appendChild(img);
});
</script>More scripts in UX