Answers for "load bootstrap cdn"

0

bootstrap cdn or local

<!-- CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">

<!-- JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>

<!-- Local fallback -->
<script>
  if (! $.fn.modal) {
    document.write('<script src="/js/bootstrap.min.js"></script>');
    document.write('<link rel="stylesheet" href="/css/bootstrap.min.css">');
  }
</script>
Posted by: Guest on May-13-2021

Browse Popular Code Answers by Language