{"id":12012,"date":"2022-03-10T06:17:54","date_gmt":"2022-03-10T11:17:54","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=12012"},"modified":"2022-03-10T06:17:56","modified_gmt":"2022-03-10T11:17:56","slug":"bootstrap-5-cdn-cheatsheet","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/bootstrap-5-cdn-cheatsheet\/","title":{"rendered":"Bootstrap 5 CDN Cheatsheet"},"content":{"rendered":"\n
Bootstrap 5 CDN code.<\/p>\n\n\n\n
Bootstrap 5.1 Code:<\/p>\n\n\n\n
<!-- Bootstrap 5.1 CSS -->\n\n<link href="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.1.3\/dist\/css\/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"><\/code><\/pre>\n\n\n\nBootstrap 5.1 JS Requirements<\/p>\n\n\n\n
Bundle:<\/p>\n\n\n\n
<script src="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.1.3\/dist\/js\/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"><\/script><\/code><\/pre>\n\n\n\nSeparate:<\/p>\n\n\n\n
<script src="https:\/\/cdn.jsdelivr.net\/npm\/@popperjs\/core@2.10.2\/dist\/umd\/popper.min.js" integrity="sha384-7+zCNj\/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"><\/script>\n<script src="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.1.3\/dist\/js\/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5\/YESvpZ13" crossorigin="anonymous"><\/script><\/code><\/pre>\n\n\n\nBootstrap 5.1 HTML Boilerplate<\/h2>\n\n\n\n<!doctype html>\n<html lang="en">\n <head>\n <!-- Required meta tags -->\n <meta charset="utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n\n <!-- Bootstrap CSS -->\n <link href="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.1.3\/dist\/css\/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">\n\n <title>Hello, world!<\/title>\n <\/head>\n <body>\n <h1>Hello, world!<\/h1>\n\n <!-- Optional JavaScript; choose one of the two! -->\n\n <!-- Option 1: Bootstrap Bundle with Popper -->\n <script src="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.1.3\/dist\/js\/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"><\/script>\n\n <!-- Option 2: Separate Popper and Bootstrap JS -->\n <!--\n <script src="https:\/\/cdn.jsdelivr.net\/npm\/@popperjs\/core@2.10.2\/dist\/umd\/popper.min.js" integrity="sha384-7+zCNj\/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"><\/script>\n <script src="https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.1.3\/dist\/js\/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5\/YESvpZ13" crossorigin="anonymous"><\/script>\n -->\n <\/body>\n<\/html><\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[4,953,25,27,15,16,18],"tags":[954,104,170,303,328,350,424,433,449,471,591],"yoast_head":"\nBootstrap 5 CDN Cheatsheet [Snippet]<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n