如何在NetBeans中使用Bootstrap框架? [英] How to use the Bootstrap framework in NetBeans?
问题描述
我最近从其官方网站下载了Bootstrap框架.当前,我正在NetBeans中创建一个Web应用程序,为了进行设计,我想使用我下载的该Bootstrap框架.
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.
我下载的Bootstrap程序包包含大量文件,但是从该文件中我手动添加了'jquery.js'
,'bootstrap.min.css'
等文件.
The Bootstrap package I downloaded contains loads of file but from that I manually added the files like 'jquery.js'
,'bootstrap.min.css'
etc.
现在,我想使用Bootstrap中的glyphicons,但是我不知道如何在NetBeans中集成glyphicons文件.那么,有什么方法可以整合我在NetBeans项目中下载的整个Bootstrap软件包?
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 ?
推荐答案
Glyphicon通常包含在bootstrap.min.css
否则您可以使用
Glyphicon is usually included in the bootstrap.min.css
else you can import them using
引导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
这篇关于如何在NetBeans中使用Bootstrap框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!