📜  Semantic-UI 表固定变化

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

Semantic-UI 表固定变化

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

表格是将一组相似项目分组为行和列的好方法。许多数据库如 SQL、Postgresql 等都使用表来存储数据。语义 UI 为我们提供了一个样式表。让我们看一下表固定变化类。

语义 UI 表固定变化类:

  • 固定:此类用于创建一个独特的表格,该表格不会根据内容调整表格单元格的大小。

句法:


        ...
    
        ...
    

示例 1:在下面的示例中,我们创建了一个标准的固定表。

HTML


  

    Semantic UI Table Fixed Variation
    

  

    
        

GeeksforGeeks

        

Semantic UI Table Fixed Variation

        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
LanguageRelease DateLinkAbout
Node.js2009https://www.geeksforgeeks.org/nodejs/Node.js is an open-source and cross-platform                          runtime environment built on Chrome's V8                          JavaScript engine for executing JavaScript                         code outside of a browser.                     
C++1985https://www.geeksforgeeks.org/c-plus-plus/C++ is a general purpose programming language                         and widely used now a days for competitive                         programming. It has imperative,                         object-oriented and generic programming features.                      
Java1996https://www.geeksforgeeks.org/java/Java has been one of the most popular                          programming languages for many years.                         Java is Object Oriented. However, it is                          not considered                          as pure object-oriented as it provides                         support for primitive data types                      
    


HTML


  

    Semantic UI Table Fixed Variation
    

  

    
        

GeeksforGeeks

        

Semantic UI Table Fixed Variation

        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
LanguageRelease DateLinkAbout
Node.js2009https://www.geeksforgeeks.org/nodejs/Node.js is an open-source and cross-platform                          runtime environment built on Chrome's V8                          JavaScript engine for executing JavaScript                          code outside of a browser.
C++1985https://www.geeksforgeeks.org/c-plus-plus/C++ is a general purpose programming language                          and widely used now a days for competitive                         programming. It has imperative, object-oriented                          and generic programming features.
Java1996https://www.geeksforgeeks.org/java/Java has been one of the most popular programming                          languages for many years. Java is Object                          Oriented. However, it is not considered                         as pure object-oriented as it provides                         support for primitive data types
    


输出:

Semantic-UI 表固定变化

Semantic-UI 表固定变化

示例 2:在下面的示例中,我们创建了一个单行固定表。

HTML



  

    Semantic UI Table Fixed Variation
    

  

    
        

GeeksforGeeks

        

Semantic UI Table Fixed Variation

        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
LanguageRelease DateLinkAbout
Node.js2009https://www.geeksforgeeks.org/nodejs/Node.js is an open-source and cross-platform                          runtime environment built on Chrome's V8                          JavaScript engine for executing JavaScript                          code outside of a browser.
C++1985https://www.geeksforgeeks.org/c-plus-plus/C++ is a general purpose programming language                          and widely used now a days for competitive                         programming. It has imperative, object-oriented                          and generic programming features.
Java1996https://www.geeksforgeeks.org/java/Java has been one of the most popular programming                          languages for many years. Java is Object                          Oriented. However, it is not considered                         as pure object-oriented as it provides                         support for primitive data types
    

输出:

Semantic-UI 表固定变化

Semantic-UI 表固定变化

参考链接: https://semantic-ui.com/collections/table.html#fixed