Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/90.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Pinterest布局风格在Firefox中不起作用?_Html_Css_Firefox - Fatal编程技术网

Html Pinterest布局风格在Firefox中不起作用?

Html Pinterest布局风格在Firefox中不起作用?,html,css,firefox,Html,Css,Firefox,我试图在Css桌面上使用这个示例中的代码,以获得Pinterest样式的布局。该代码在Google Chrom中运行良好,但在mozilla Firefox中不起作用。它显示为一列。我应该在代码中更改什么才能使其工作? Css代码 从以下内容更改css: #columns { -moz-column-count: 3; -moz-column-fill: auto; -moz-column-gap: 10px; } 为此: #columns { -moz-col

我试图在Css桌面上使用这个示例中的代码,以获得Pinterest样式的布局。该代码在Google Chrom中运行良好,但在mozilla Firefox中不起作用。它显示为一列。我应该在代码中更改什么才能使其工作? Css代码


从以下内容更改css:

#columns {
    -moz-column-count: 3;
    -moz-column-fill: auto;
    -moz-column-gap: 10px;
}
为此:

#columns {
    -moz-column-count: 3;
    -moz-column-gap: 10px;
}

删除仅用于Firefox的列填充的“自动”属性更改css:

#columns {
    -moz-column-count: 3;
    -moz-column-fill: auto;
    -moz-column-gap: 10px;
}
为此:

#columns {
    -moz-column-count: 3;
    -moz-column-gap: 10px;
}
删除仅适用于Firefox的列填充的自动属性