Bootstrap/Getting started: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Getting started with Bootstrap is fairly easy. You can install it via NPM, or directly include the CSS and JavaScript in your HTML file. == via NPM == You can install Bootstrap via your npm package manager just by typing this command: <pre>npm install [email protected]</pre> == Inserting it into HTML == This is the ''recommended'' way of installing Bootstrap. Insert these tags into the <head> of your HTML file. <pre><link href="https://cdn.jsdelivr.net/npm/bootstra...") |
No edit summary |
||
Line 1: | Line 1: | ||
'''[[Bootstrap|Back to Bootstrap]]''' |
|||
Getting started with Bootstrap is fairly easy. You can install it via NPM, or directly include the CSS and JavaScript in your HTML file. |
Getting started with Bootstrap is fairly easy. You can install it via NPM, or directly include the CSS and JavaScript in your HTML file. |
||
Revision as of 20:32, 18 May 2022
Getting started with Bootstrap is fairly easy. You can install it via NPM, or directly include the CSS and JavaScript in your HTML file.
via NPM
You can install Bootstrap via your npm package manager just by typing this command:
npm install [email protected]
Inserting it into HTML
This is the recommended way of installing Bootstrap. Insert these tags into the <head> of your HTML file.
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>