Complete overhaul of code structure and relevant files (#639)
This commit is contained in:
13
src/Disp/Initialization/CssArea.js
Normal file
13
src/Disp/Initialization/CssArea.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { DispCSS } from '../VariablesAndData';
|
||||
|
||||
/**
|
||||
* This function creates a CSS style that stores certain standard CSS classes used by CookieMonster
|
||||
|
||||
*/
|
||||
export default function CreateCssArea() {
|
||||
DispCSS = document.createElement('style');
|
||||
DispCSS.type = 'text/css';
|
||||
DispCSS.id = 'CMCSS';
|
||||
|
||||
document.head.appendChild(DispCSS);
|
||||
}
|
||||
Reference in New Issue
Block a user