Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/42.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 使用flex模拟列,考虑打印样式中的分页符_Html_Css_Flexbox - Fatal编程技术网

Html 使用flex模拟列,考虑打印样式中的分页符

Html 使用flex模拟列,考虑打印样式中的分页符,html,css,flexbox,Html,Css,Flexbox,有没有办法在打印视图中使用flex网格模拟列 该网格中的元素应该从左到右列自动断开,并在分页符时从左列顶部开始 与“columns:2”相同,但使用flex而不是columns 魔术打印视图: 桌面视图(这没有问题,因此没有问题):

有没有办法在打印视图中使用flex网格模拟列

该网格中的元素应该从左到右列自动断开,并在分页符时从左列顶部开始

与“columns:2”相同,但使用flex而不是columns

魔术打印视图:

桌面视图(这没有问题,因此没有问题):