📜  HTML | DOM 样式 columnFill 属性

📅  最后修改于: 2021-11-07 08:00:46             🧑  作者: Mango

HTML DOM Style columnFill属性指定如何填充一列(平衡与否)。
句法:

  • 获取 columnFill 属性
    object.style.columnFill
    
  • 设置 columnFill 属性
    object.style.columnFill= "balance|initial|auto|inherit"

    属性值:

  • 平衡:它平衡列(默认)。
  • 自动:列将具有不同的长度并按顺序填充。
  • 初始:将值设置为默认值。
  • 继承:从父级继承值。

    例子:

    
    
    
        
          HTML | DOM Style columnFill Property
        
    
    
      
        
          GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.        GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.        GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.        GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.        GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.        GEEKSFORGEEKS welcomes you to the learning portal.        GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.       GEEKSFORGEEKS welcomes you to the learning portal.        
                      

    注意: “13.0 -moz-”支持CCSS3 column-fill 属性

    支持的浏览器: HTML不支持主流浏览器 | DOM 样式 columnFill 属性