📜  Semantic-UI 列表划分变体

📅  最后修改于: 2022-05-13 01:56:13.600000             🧑  作者: Mango

Semantic-UI 列表划分变体

Semantic UI 是一个开源开发框架,它提供预定义的类,使我们的网站看起来漂亮、令人惊叹且响应迅速。它类似于具有预定义类的 Bootstrap。它使用 jQuery 和 CSS 来创建接口。它也可以像 bootstrap 一样通过 CDN 直接使用。

Semantic-UI 列表为我们提供了列表的不同变体,例如水平、倒置、选择、动画、松弛、分割、单元格和大小变体。

Semantic-UI List Divided Variation 用于添加列表项内容之间的划分。要在列表元素中添加划分,我们将使用分类。

Semantic-UI List Divided Variation Used 类:

  • 划分:该类用于在列表项内容之间添加划分。

句法:

...
...

示例 1:此示例描述了 Semantic-UI List Divided Variation 的使用。

HTML


  

    
        Semantic-UI List Divided Variation
    
  
    

  

    
        

            GeeksforGeeks         

           

Semantic-UI List Divided Variation

           
            
                                 
                    GeeksforGeeks                     
                        A Computer Science portal for geeks. It                         contains well written, well thought and                         well explained articles...                     
                
            
            
                                 
                    HTML                     
                        HTML stands for HyperText Markup                          Language. It is used to design web                          pages using a markup language.                     
                
            
            
                                 
                    CSS                     
                        CSS (Cascading Style Sheets) is a                          stylesheet language used to design                          the webpage to make it attractive.                     
                
            
            
                                 
                    JavaScript                     
                        JavaScript is the world most popular                          lightweight, interpreted compiled                          programming language.                      
                
            
        
    
  


HTML


  

    
        Semantic-UI List Divided Variation
    
  
    

  

    
        

            GeeksforGeeks         

           

Semantic-UI List Divided Variation

           
            
                
                    GeeksforGeeks                     
                        A Computer Science portal for geeks. It                         contains well written, well thought and                         well explained articles...                     
                
            
            
                
                    HTML                     
                        HTML stands for HyperText Markup                          Language. It is used to design web                          pages using a markup language.                     
                
            
            
                
                    CSS                     
                        CSS (Cascading Style Sheets) is a                          stylesheet language used to design                          the webpage to make it attractive.                     
                
            
            
                
                    JavaScript                     
                        JavaScript is the world most popular                          lightweight, interpreted compiled                          programming language.                      
                
            
        
    
  


输出:

Semantic-UI 列表划分变体

Semantic-UI 列表划分变体

示例 2:此示例描述了 Semantic-UI List Divided Variation 的使用。

HTML



  

    
        Semantic-UI List Divided Variation
    
  
    

  

    
        

            GeeksforGeeks         

           

Semantic-UI List Divided Variation

           
            
                
                    GeeksforGeeks                     
                        A Computer Science portal for geeks. It                         contains well written, well thought and                         well explained articles...                     
                
            
            
                
                    HTML                     
                        HTML stands for HyperText Markup                          Language. It is used to design web                          pages using a markup language.                     
                
            
            
                
                    CSS                     
                        CSS (Cascading Style Sheets) is a                          stylesheet language used to design                          the webpage to make it attractive.                     
                
            
            
                
                    JavaScript                     
                        JavaScript is the world most popular                          lightweight, interpreted compiled                          programming language.                      
                
            
        
    
  

输出:

Semantic-UI 列表划分变体

Semantic-UI 列表划分变体

参考: https://semantic-ui.com/elements/list.html#divided