📜  语义 UI 表单分组字段变体

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

语义 UI 表单分组字段变体

Semantic UI 是一个开源框架,它使用 CSS 和 jQuery 构建出色的用户界面。它与使用的引导程序相同,并且有很多不同的元素可用于使您的网站看起来更神奇。它使用一个类将 CSS 添加到元素中。

表单是文档的一部分,其中包含许多输入字段,例如文本字段、密码、复选框等。语义 UI 表单用于使用语义 UI 类创建有吸引力的表单。设计有吸引力的表格非常容易。

Semantic-UI Form Grouped Fields Variation 用于显示元素的相关选择。它的工作原理类似于单选按钮。

Semantic-UI Form Grouped Fields Variation Used 类:

  • 分组字段:该类用于显示元素的相关选择。

句法:

...
...

示例 1:在此示例中,我们将描述 Semantic-UI Form Grouped Fields Variation 的使用。

HTML


 

    
        Semantic-UI Form Grouped Fields Variation
    
 
    
   
    
    

 

    
        

            GeeksforGeeks         

          

Semantic-UI Form Grouped Fields Variation

    
    
      
        

Select Subject:

        
            
                
                                                          
            
            
                
                                                          
            
            
                
                                                          
            
            
                
                                                          
            
            
                
                                                          
            
        
    
        


HTML


 

    
        Semantic-UI Form Grouped Fields Variation
    
 
    
 
    
 
    

 

    
        

            GeeksforGeeks         

          

Semantic-UI Form Grouped Fields Variation

    
    
      
        
            

Select Subject:

            
                
                    
                                                                      
                
                
                    
                                                                      
                
                
                    
                                                                      
                
                
                    
                                                                      
                
                
                    
                                                                      
                
            
        
    
        


输出:

语义 UI 表单分组字段变体

示例 2:在此示例中,我们将描述使用 Semantic-UI Form Grouped Fields Variation with Inverted variation。

HTML



 

    
        Semantic-UI Form Grouped Fields Variation
    
 
    
 
    
 
    

 

    
        

            GeeksforGeeks         

          

Semantic-UI Form Grouped Fields Variation

    
    
      
        
            

Select Subject:

            
                
                    
                                                                      
                
                
                    
                                                                      
                
                
                    
                                                                      
                
                
                    
                                                                      
                
                
                    
                                                                      
                
            
        
    
        

输出:

语义 UI 表单分组字段变体

语义 UI 表单分组字段变体

参考: https: //semantic-ui.com/collections/form.html#grouped-fields