简体   繁体   中英

Load external CSS Bootstrap file for a webpage at runtime

I don't know much about JavaScript but I have a small web application, given to me by a friend, which is used by several companies. Due to the type of application, each company usually requires particular modifications in the UI of specific webpages, basically only in appearance and CSS (not in business rules). In each new installation, I find it tedious to have a different version of the app for each company.

Is there a way, for example for a specific webpage, to have its CSS file outside the application and load it at runtime, without having to compile the application for each company?

You can host your css on a site like GitHub and then link to it in your webpage. Take a look at this thread.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM