I recently downloaded the Bootstrap framework from its official website. Currently I'm creating a web application in NetBeans and for designing I want to use this Bootstrap framework I have downloaded.
The Bootstrap package I downloaded contains loads of file but from that I manually added the files like 'jquery.js'
,'bootstrap.min.css'
etc.
Now I want to use the glyphicons from the Bootstrap, but I have no idea how to integrate the file of glyphicons in NetBeans. So is there a way by which I can integrate the entire Bootstrap package I downloaded in my NetBeans project ?
Bootstrap is a front-end framework that contains a collection of tools designed to allow developers to quickly create web applications.
Under the folder, copy the extracted files downloaded from bootstrap. Under the head tag of the HTML file, the CSS needs to be linked. The jQuery downloaded should also be copied under the JS file. Make sure that under the project file, the downloaded files and HTML page must be present in that folder.
Glyphicon is usually included in the bootstrap.min.css
else you can import them using
Bootstrap CSS CDN
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
if you want to use them try using them using the syntax
<span class="glyphicon glyphicon-heart"></span>
Here is the working Demo
let me know if it works
Bootstrap
is built into NetBeans
, no need to download anything except NetBeans
, as explained here:
https://blogs.oracle.com/geertjan/entry/up_running_with_twitter_bootstrap
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With