我想知道Bootstrap是否具有内置JS
功能,可根据设备屏幕大小显示或隐藏行?可折叠的列不能满足我的需求.
例如(伪代码)
if(screensize > 768px) {} else {
- <%= image_tag 'section_icons/cheese.png', class: 'section_img' %> Cheese
- <%= image_tag 'section_icons/wine.png', class: 'section_img' %> Wine
other column content}
- <%= image_tag 'section_icons/cheese.png', class: 'section_img' %> Cheese
- <%= image_tag 'section_icons/wine.png', class: 'section_img' %> Wine
other column content
ReZa.. 5
看看http://getbootstrap.com/css/#responsive-utilities
我想这就是你需要的