Skip to content

Simple and easy to use JavaScript library to load your .css files

Notifications You must be signed in to change notification settings

rabu81/styles.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

styles.js

Simple and easy to use JavaScript library to load your .css files

How to use

  1. Add styles.js in your HTML document: <script type="text/javascript" data-css="css/folder/config-file" src="js/folder/styles.js"></script>.
  2. Create a config-file.js file in the css/folder/ folder.
  3. Finaly, to load my-styles.css from css/folder/, simply add styles.load('my-styles'); to the config-file.js in the same folder.

Author

Rasmus Burkal, @rabu81

About

Simple and easy to use JavaScript library to load your .css files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published