Get Bootstrap 5 CDN, a version of Bootstrap the most popular framework for building responsive, mobile-first sites, with jsDelivr and a template starter page.

To quickly add Bootstrap to your website project, use jsDelivr, a free open source CDN. Either use a package manager download the source files. To download follow this link download page. Alternatively, and for quick use, copy the line of codes below and include them in the <head> section of your page. Make sure that the Bootstrap CSS link come before any other CSS.

CSS

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">

JavaScript for Bootstrap 5

Many of Bootstrap components require JavaScript in order to function. Specifically, they require Bootstrap JavaScript plugins and Popper. Place one of the scripts below just before the </body> tag.

1. Bundle

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>

2. Separate

If you pick this option, make sure Popper code comes firts.

<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>

Related Posts

Facebook

Get the Facebook Likebox Slider Pro for WordPress