博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
3.4、Bootstrap V4自学之路------内容---表格
阅读量:6146 次
发布时间:2019-06-21

本文共 2336 字,大约阅读时间需要 7 分钟。

  hot3.png

大锅烩~ 连起来比对效果,多少能看出一些差距。

114526_dYAP_199513.png

    
        
            
1、无效果的table            
1                    
                
                  
                    
                    
                    
                    
                  
                
                
                  
                    
                    
                    
                  
                
              
# First Name Last Name Username
Mark Otto @mdo
                
            
2、BS提供的.table类 |class="table"            
                                                      #                    First Name                    Last Name                    Username                                                                                        
1                    Mark                    Otto                    @mdo                                                                
            
3、反相表格.table-inverse | class="table table-inverse"            
                                                      #                    First Name                    Last Name                    Username                                                                                        
1                    Mark                    Otto                    @mdo                                                                
            
4、反相表格.table-inverse | class="table table-inverse"            
                
                                      #                    First Name                    Last Name                    Username                                                  
                                      1                    Mark                    Otto                    @mdo                                                                
            
5、隔行变色 .table-striped | class="table table-striped"            
                                                      #                    First Name                    Last Name                    Username                                                                                        1                    Mark                    Otto                    @mdo                                                        1                    Mark                    Otto                    @mdo                                                        1                    Mark                    Otto                    @mdo                                                                
            
6、带边框的表格 .table-bordered | class="table table-bordered"            
                                                      #                    First Name                    Last Name                    Username                                                                                        1                    Mark                    Otto                    @mdo                                                                
            
7、可悬停的行 .table-hover | class="table table-hover"            
                                                      #                    First Name                    Last Name                    Username                                                                                        1                    Mark                    Otto                    @mdo                                                                
            
8、紧凑型的表 .table-sm | class="table table-sm"            
                                                      #                    First Name                    Last Name                    Username                                                                                        1                    Mark                    Otto                    @mdo                                                        1                    Mark                    Otto                    @mdo                                                                
            
9、上线文类 《tr class="table-active"》            
                                                      0                    将条形码放置《tr》中                                                                     
                    1                    class="table-active"                                    
                    2                    class="table-success"                                    
                    3                    class="table-warning"                                    
                    4                    class="table-danger"                                    
                    5                    class="table-info"                                                                
            
10、上线文类 《td class="table-active"》            
                                                      0                    将条形码放置《td》中                     0                    0                    0                                                                                          
td class="table-active"                      
td class="table-success"                      
td class="table-warning"                      
td class="table-danger"                      
td class="table-info"                                                                
            
11、响应式表格 .table-responsive | 加在table外层div中            
                
                                                                  
#                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                                                                                                            
1                        成功                        则在table中加入横向滚动条                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                        如果窗体宽度小于768PX,                        则在table中加入横向滚动条                                                                                        
            
12、表格转秩 .table-reflow | class="table table-reflow"             
                                                      #.table-reflowa                    我是第一个TR的第2个td                    我是第一个TR的第3个td                    我是第一个TR的第4个td                    我是第一个TR的第5个td                    我是第一个TR的第6个td                                                                                        
1 竖向显示表格                    我是第二个tr的第2个td                    我是第二个tr的第3个td                    我是第二个tr的第4个td                    我是第二个tr的第5个td                    我是第二个tr的第6个td                                                                    

转载于:https://my.oschina.net/asktao/blog/645864

你可能感兴趣的文章
JS图片跟着鼠标跑效果
查看>>
[SCOI2005][BZOJ 1084]最大子矩阵
查看>>
学习笔记之Data Visualization
查看>>
Leetcode 3. Longest Substring Without Repeating Characters
查看>>
数学之美系列二十 -- 自然语言处理的教父 马库斯
查看>>
Android实现自定义位置无标题Dialog
查看>>
面试总结
查看>>
Chrome浏览器播放HTML5音频没声音的解决方案
查看>>
Android源码学习之观察者模式应用
查看>>
416. Partition Equal Subset Sum
查看>>
Django之FBV与CBV
查看>>
Vue之项目搭建
查看>>
app内部H5测试点总结
查看>>
[TC13761]Mutalisk
查看>>
Data Wrangling文摘:Non-tidy-data
查看>>
while()
查看>>
常用限制input的方法
查看>>
IIS7下使用urlrewriter.dll配置
查看>>
并行程序设计学习心得1——并行计算机存储
查看>>
JAVA入门到精通-第86讲-半双工/全双工
查看>>