mirror of
https://github.com/Floriansylvain/portfolio.git
synced 2026-08-19 11:43:20 +02:00
⚡️ Loading imgs background in css after main css
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user