How to load local copy of bootstrap css when the cdn server is down?

前端 未结 4 859
渐次进展
渐次进展 2020-12-30 06:04

As of now I\'m using like this for javascript


<         


        
4条回答
  •  囚心锁ツ
    2020-12-30 06:40

    This gist has a code snippet that I found particularly useful for detecting the need to load a CSS fallback.

    
    
    
    

    just replace /Content/Styles/bootstrap-combined.min.css with the correct path to your local css and you should be good

提交回复
热议问题