单项选择题img-responsive类可以让图片支持响应式布局,它的实现原理是什么。()

A.设置了max-width:100%;和height:auto;
B.设置了max-width:100%;和height:100%;
C.设置了width:auto;和max-height:100%;
D.设置了width:auto;和height:auto;


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题表单元素要加上什么类,才能给表单添加圆角属性,和阴影效果()

A.form-group
B.form-horizontal
C.form-inline
D.form-contro

3.单项选择题Bootstrap中,制作tab切换,要显示的内容要放在下方哪个容器里面。()

A.content
B.tab-group
C.tab-body
D.tab-content

4.单项选择题Bootstrap中,如何让轮播图在页面切换时有动画。()

A.添加in类
B.添加fade类
C.添加active类
D.添加slide类

5.单项选择题Bootstrap中,导航条在小屏幕会被折叠,实现显示和折叠功能的按钮需要加什么。()

A.折叠按钮加data-toggle=’collapsed’,折叠容器需要加collapsed类
B.折叠按钮加data-toggle=’collapse’,折叠容器需要加collapse类
C.折叠按钮加data-toggle=’scroll’,折叠容器需要加collapse类
D.折叠按钮加data-spy=’scroll’,折叠容器需要加collapse类

6.单项选择题Bootstrap中,可以把导航固定在顶部的类是()

A.navbar-fixed-top
B.navbar-fixed-bottom
C.navbar-static-top
D.navbar-inverse

7.单项选择题Bootstrap中,以下哪项可以只关闭警告框的data-API。()

A.$(document).off(’.data-api’)
B.$(document).off(’.alert-data-api’)
C.$(document).off(’.data-api.alert’)
D.$(document).off(’.alert.data-api’)

8.单项选择题Bootstrap中,用Java Script怎样让轮播图从第二个图片开始播放。()

A.$(’.carousel’).carousel()
B.$(’.carousel’).carousel(0)
C.$(’.carousel’).carousel(1)
D.$(’.carousel’).carousel(2)

9.单项选择题Bootstrap中,如果不需要模态框弹出时的动画效果(淡入淡出效果)要如何实现。()

A.删掉.fade类即可
B.添加删掉.fade类即可
C.去掉.active类即可
D.去掉.in类即可

10.单项选择题实现nav平铺整行,应该加哪个类。()

A.nav-center
B.nav-justified
C.nav-left
D.nav-right