如何用bootstrap策划? [英] How to strat with bootstrap?
本文介绍了如何用bootstrap策划?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是bootstrap的新手。我只是想知道当引用css和js文件时引导程序是否更改了div本身的类,或者我们必须编写额外的js来添加和删除div的类,例如:
< div class =col-sm-3 col-sm-4 col-sm-5 col-sm-6 col-sm-7 col-sm-8 col- sm-11 col-sm-10 col-sm-12> text< / div>
如果我有这样的div那么当屏幕尺寸发生变化时会发生什么
解决方案
您不需要像使用过的那样编写任何类。
在Div / Section上的类似容器'''''这样的类是好的开始。你需要在页面或布局/母版页面上有bootstrap css / js链接。
如果错过链接或完全没有应用类,有些怎么办你需要排除故障理由而不是添加任何自定义类,如''col-sm-3''等。
如果这有帮助,请接受解决方案,否则会给出您遇到的确切问题。
I am new to bootstrap. I just wanted to know whether bootstrap changes the the class of a div itself when css and js files are reffered or we have to write additional js to add and remove class of a div for eg:
<div class="col-sm-3 col-sm-4 col-sm-5 col-sm-6 col-sm-7 col-sm-8 col-sm-11 col-sm-10 col-sm-12">text</div>
if I have such div then what will happen as screen size changes
解决方案
You do not need to write any class like you have used.
Class like ''container'' ''table'' over Div/Section is all good to start with. You need to have bootstrap css/js link on the page or layout/master page.
Some how if links missed or exact class not getting applied you have to troubleshoot the reason instead of adding any custom class like ''col-sm-3'' etc.
Accept the solution if this helps, otherwise give exact problem you faced.
这篇关于如何用bootstrap策划?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文