diff --git a/src/js/utilities.js b/src/js/utilities.js
index 663a4fb..cfa4e2d 100644
--- a/src/js/utilities.js
+++ b/src/js/utilities.js
@@ -139,7 +139,7 @@ export function addMessage(messageText, time = 5000, extraClass = false) {
if (extraClass !== false) {
element.classList.add(extraClass);
}
- element.innerHTML = '×︎' + messageText;
+ element.innerHTML = `×︎` + messageText;
messagingSection.appendChild(element);
const closeButton = element.querySelector('.close-button');
diff --git a/src/scss/_structure.scss b/src/scss/_structure.scss
index 3f76586..e08cf91 100644
--- a/src/scss/_structure.scss
+++ b/src/scss/_structure.scss
@@ -364,6 +364,28 @@ $nav-font-height: 16px;
font-size: 25px;
line-height: 10px;
cursor: pointer;
+
+ &:before {
+ content: '';
+ position: absolute;
+ top: -2px;
+ right: -2px;
+ width: 20px;
+ height: 20px;
+ background-color: #455455;
+ opacity: 0.5;
+ transform-origin: center left;
+ transform: scaleX(0);
+ animation-name: fill;
+ animation-duration: inherit;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
+ }
+ @keyframes fill {
+ 100% {
+ transform: scaleX(1);
+ }
+ }
}
}
}