Bootstrap 5 cdn

Answers 1
  • Bootstrap 5 CDN links from jsdelivr.net

    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
    
    <!-- Bootstrap 5 JS -->
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" crossorigin="anonymous"></script>
    <!-- Or -->
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
    
    0

    Copy-paste the bootstrap 5 cdn stylesheet (link) into yourtag and use js (script) file cdn intoof the HTML page. You can use popper.min.js with bootstrap.min.js file (if you want to use tooltips or popovers) or you can use bootstrap.bundle.min.js file (which include popper js for our tooltips and popovers already). If you don't want to use tooltips and popovers in your website then just use bootstrap.min.js with bootstrap.min.css file. If you use popper js then use popper js cdn before the bootstrap js cdn link so that there should not be any conflict.

  • Back to code snippet queries related bootstrap