️ Loading imgs background in css after main css

This commit is contained in:
Florian Sylvain
2022-02-06 21:55:43 +01:00
parent 815f7f707b
commit 0bf08f5eff
4 changed files with 666 additions and 653 deletions
+11
View File
@@ -17,6 +17,17 @@ const projectsIDs = Array.from(projectsContentList)
let lastScrollTop = window.pageYOffset;
function loadCSS() {
"use strict";
const stylesheet = document.createElement('link');
stylesheet.href = 'stylesheet-imgs.css';
stylesheet.rel = 'stylesheet';
stylesheet.type = 'text/css';
document.querySelector('head').appendChild(stylesheet);
}
loadCSS();
function toAddClass(toClass, inClass) {
"use strict";