【发布时间】:2016-01-29 08:11:35
【问题描述】:
我正在使用仍在开发中的 Bootstrap 4 构建一个项目。 编译等在我头上。 在官方服务器上使用所需的 Bootstrap 4 文件的最佳方法是什么?
即。一种选择是https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css 另一个是https://v4-alpha.getbootstrap.com/dist/css/bootstrap.min.css
(我已经尝试了这两个选项,但看到的是老式的渐变样式按钮,而不是新的扁平按钮)。
各有什么优点? 我还需要添加哪些其他文件? 即。
<!-- JavaScript: placed at the end of the document so the pages load faster -->
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js">
</script>
<!-- Latest compiled JavaScript -->
<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
【问题讨论】: