![]() One proof that the Bootstrap CSS code has been successfully accessed is that the “Welcome to BootStrap Tutorial” text is slightly to the center as an effect of the tag. Finally, in line 13 there is a tag for importing the Bootstrap JavaScript file.Īfter that open the index.html file in a web browser: container class is a default Bootstrap class that I deliberately added to test whether the bootstrap CSS file has been successfully accessed or not. Then inside the tag there is an additional tag. The process of importing the CSS file is done from the tag in line 7. Make sure that in the bootstrap folder, there is a CSS folder containing the bootstrap.css file and a js folder containing the file.Ĭreate an index.html file in the bootstrap folder, then paste the following code: We already have a Bootstrap file, now let’s test creating an HTML file to access it. ![]() Each folder contains quite a number of files, but we only need 2 of them, namely css\bootstrap.css, and js\. There are 2 folders in this file, namely the CSS folder and the js folder. Please extract this file to a folder. This time I will extract it to the bootstrap folder on drive c: It will take a few moments to download the bootstrap-5.3.0-dist.zip file (about 1.4 MB in size). On the Download page, scroll down a bit until the title “ Compiled CSS and JS “, then click the Download button again ![]() To download the Bootstrap file, please open the official Bootstrap website at, then click the Download button in the middle of the page. The term “bootstrap installation” is actually not quite right, because Bootstrap only consists of a collection of CSS and JavaScript files that you just need to download and copy. Still, we need a way to input Bootstrap files, and this is what we’ll cover.Īt the time I wrote this tutorial, Bootstrap had just released an update to version 5.3. In my previous article, I discussed the history and some alternatives to the Bootstrap CSS framework. Continuing the tutorial on learning the Bootstrap CSS framework, this time we will discuss how to download and install Bootstrap 5.
0 Comments
Leave a Reply. |