Bootstrap
单选题
1、关闭modal的按钮应该加什么属性( )
A. data-dismiss = 'modal'
B. data-spy = 'modal'
C. data-toggle = 'modal'
D. data-hide = 'true'
2.表单元素要加上什么类,才能给表单添加圆角属性,和阴影效果是( )
A. form-horizontal
B. form-inline
C. form-group
D. form-control
3、Bootstrap中,通过添加()类可以让表格更加紧凑,单元格中的内补(padding)均会减
半 .
A、.table-condensed
B、.table-hover
C、.table-bordered
D、.table-striped
4、下列关于Bootstrap栅格系统描述错误的是( )
A、"行(row)"必须包含在 .container (固定宽度)或 .container-fluid (100% 宽度)中,以便为其赋予合适的排列(alignment)和内补(padding)
B、通过为"列(column)"设置 padding 属性,从而创建列与列之间的间隔(gutter)
C、"列(column)"不应当作为"行(row)"的直接子元素
D、栅格系统中的列是通过指定1到12的值来表示其跨越的范围
多选题
1、Bootstrap的核心功能特点有( )
A、面向对象
B、响应式布局
C、支持路由
D、跨设备、跨浏览器
2、Bootstrap4中可以改变按钮大小的类是()
A、btn-sm
B、btn-md
C、btn-xs
D、btn-lg
3、在Bootstrap4中,下列()属于定位工具类。
A、.position-static
B、.position-relative
C、.position-absolute
D、.position-fix
判断题
1.Bootstrap允许以两种方式显示代码:第一种是<code>标签,第二种是<pre>标签( )。
2.Bootstrap插件全部依赖jQuery( )。
3.响应式布局是指页面可以根据不同的终端进行自适应的布局方式( )。