📜  语义UI |喂养

📅  最后修改于: 2021-08-30 10:32:31             🧑  作者: Mango

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

提要显示用户活动。例如 Facebook 上的 Newsfeed。

示例 1:此示例使用 Semantic-ui 创建提要内容。



  

    Semantic UI
    
  
    

  

    
        
            
                
                                     
                
                    
                                                     Geeksforgeeks                          starting following you.                         
                            2 Hour Ago                         
                    
                    
                                             
                
            
            
                
                                     
                
                    
                        Geeksforgeeks changed
                        thier profile picture                         
                            6 days ago                         
                    
                    
                                             
                    
                                             
                
            
            
                
                                     
                
                    
                        Geeksforgeeks                         
                            3 days ago                         
                    
                    
                        New courses are available on
                          20% discount for summer.                     
                    
                                             
                
            
        
    
  

输出:

示例 2:此示例使用 Semantic-ui 创建带有图标的提要内容。



  

    Semantic UI
    
  
    

  

    
        
            
                
                                     
                
                    
                        Geeksforgeeks just                          launched new Courses.                         
                            1 hour ago.                         
                    
                
            
        
    
  

输出: