📜  Semantic-UI 内容调光器类型

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

Semantic-UI 内容调光器类型

Semantic UI是一个开源框架,它使用 CSS 和 jQuery 构建出色的用户界面。它与使用的引导程序相同,并且有很多不同的元素可用于使您的网站看起来更令人惊叹。它使用一个类将 CSS 添加到元素中。 Dimmer是一种很好的方法,可以将用户的注意力引导到网站的某个部分,同时忽略干扰。调光器可用于隐藏不需要的信息并将用户的注意力吸引到网页的特定部分。语义 UI 为我们提供了一种很棒的方法来显示较暗的内容。

语义 UI 内容调光器类型类:

  • 内容:为调光内容创建一个容器。

句法:

...

示例 1:在下面的示例中,我们创建了一个带有内容的标准调光器。

HTML


  

    Semantic UI Dimmer Content Type
    
  
    
    

  

  
    
        

GeeksForGeeks

        

Semantic UI Dimmer Content Type

        
        
        
            
                
                    

                                               We just want to let you know                       that GeeksForGeeks is Awesome!                     

                
            
            

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great                 different elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS and                jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.              

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.              

               

Semantic UI is an open-source framework that uses                CSS and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.              

           
                      
          


HTML


  

    Semantic UI Dimmer Content Type
    
    
    

  

  
    
        

GeeksForGeeks

        

Semantic UI Dimmer Content Type

        
        
        
            
                
                    

                                               We just want to let you know                        that GeeksForGeeks is Awesome!                     

                
            
            

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

           
                      
          


输出:

Semantic-UI 内容调光器类型

Semantic-UI 内容调光器类型

示例 2:在下面的示例中,我们创建了一个带有内容和模糊背景的调光器。

HTML



  

    Semantic UI Dimmer Content Type
    
    
    

  

  
    
        

GeeksForGeeks

        

Semantic UI Dimmer Content Type

        
        
        
            
                
                    

                                               We just want to let you know                        that GeeksForGeeks is Awesome!                     

                
            
            

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

               

Semantic UI is an open-source framework that uses CSS                and jQuery to build great user interfaces. It is                the same as a bootstrap for use and has great different                elements to use to make your website look more                amazing. It uses a class to add CSS to the elements.             

           
                      
          

输出:

Semantic-UI 内容调光器类型

Semantic-UI 内容调光器类型

参考: https ://semantic-ui.com/modules/dimmer.html#content-dimmer