twitter-bootstrap – Bootstrap:如何添加dropdown.less?
我需要在表单中添加日历.
我想安装这个项目: https://github.com/vitalets/bootstrap-datepicker 但据说: 如何将该文件添加到我的应用程序? 非常感谢你! 解决方法
您必须下载并包含以下资产.
CSS http://getbootstrap.com/2.3.2/assets/css/bootstrap.css http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css http://eternicode.github.io/bootstrap-datepicker/bootstrap-datepicker/css/datepicker.css JS http://code.jquery.com/jquery.js http://getbootstrap.com/2.3.2/assets/js/bootstrap.js http://eternicode.github.io/bootstrap-datepicker/bootstrap-datepicker/js/bootstrap-datepicker.js 然后在html中,使用这样的. <input data-provide="datepicker"> Demo here 请注意,我在这里给了bootstrap 2.3. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |