📜  基础 CSS 基础版式定义列表

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

基础 CSS 基础版式定义列表

Foundation CSS 是由 ZURB 基金会于 2011 年 9 月构建的开源和响应式前端框架,可以轻松设计漂亮的响应式网站、应用程序和电子邮件,使其看起来很棒并且可以在任何设备上访问。它被许多公司使用,例如 Facebook、eBay、Mozilla、Adobe,甚至迪士尼。该框架建立在类似 Saas 的引导程序上。它更加复杂、灵活且易于定制。它还带有 CLI,因此很容易与模块捆绑器一起使用。它提供了 Fastclick.js 工具,用于在移动设备上更快地呈现。

Foundation CSS Base Typography 用于添加默认样式以使元素更具吸引力。基本排版通过提供简单而有吸引力的元素和类来构建有吸引力的网页,使生活更轻松。

Foundation CSS Base Typography Definition List 用于使用

元素添加标题及其定义。
标签创建包含
元素的描述列表。

基础 CSS 基础版式定义列表标签:

  • 标签:该标签用于表示描述列表。
  • 标签:该标签用于指定描述列表。它在
    元素中使用。
  • 标签:此标签用于表示描述列表中项目的描述或定义。

句法:

...
...

示例 1:在这个示例中,我们将描述 Foundation CSS Base Typography Definition List 的使用。

HTML


  

    
        Foundation CSS Base Typography Definition Lists
    
  
    
    
  
    
    
    

  

    

        GeeksforGeeks     

       

        Foundation CSS Base Typography Definition Lists     

    
       
        
GeeksforGeeks
        
            A Computer Science portal for geeks.             It contains well written, well thought             and well explained computer science             and programming articles...         
    
       
        
HTML
        
            HTML stands for HyperText Markup             Language. It is used to design web             pages using a markup language. It             is the combination of Hypertext             and Markup language.         
    
       
        
JavaScript
        
            JavaScript is the world most popular             lightweight, interpreted compiled             programming language. It is also             known as scripting language for web             pages.         
    
          


HTML


  

    
        Foundation CSS Base Typography Definition Lists
    
  
    
    
  
    
    
    

  

    

        GeeksforGeeks     

       

        Foundation CSS Base Typography Definition Lists     

    
       
        
            

GeeksforGeeks

        
        
            A Computer Science portal for geeks.             It contains well written, well thought             and well explained computer science             and programming articles...         
    
    
       
        
            

HTML

        
        
            HTML stands for HyperText Markup             Language. It is used to design web             pages using a markup language. It             is the combination of Hypertext             and Markup language.         
    
    
       
        
            

JavaScript

        
        
            JavaScript is the world most popular             lightweight, interpreted compiled             programming language. It is also             known as scripting language for web             pages.         
    
          


输出:

例2:在这个例子中,我们将描述Foundation CSS Base Typography Definition List的使用。

HTML



  

    
        Foundation CSS Base Typography Definition Lists
    
  
    
    
  
    
    
    

  

    

        GeeksforGeeks     

       

        Foundation CSS Base Typography Definition Lists     

    
       
        
            

GeeksforGeeks

        
        
            A Computer Science portal for geeks.             It contains well written, well thought             and well explained computer science             and programming articles...         
    
    
       
        
            

HTML

        
        
            HTML stands for HyperText Markup             Language. It is used to design web             pages using a markup language. It             is the combination of Hypertext             and Markup language.         
    
    
       
        
            

JavaScript

        
        
            JavaScript is the world most popular             lightweight, interpreted compiled             programming language. It is also             known as scripting language for web             pages.         
    
          

输出:

参考: https://get.foundation/sites/docs/typography-base.html#definition-lists