文本流使用boostrap列"像报纸"

时间:2017-09-04 10:43:11

标签: css wordpress bootstrap-4

我正在研究一个WP项目。我一直在尝试使用bootstrap框架工作在列之间有一个很好的文本流。

我需要在不同的专栏中流动相同的故事,这些故事似乎被称为"就像报纸"。我在css中找到了一些仅使用多列的示例,但我更愿意在bootstrap中执行此操作。

我假设每个列都必须有一个高度,所以有一个点可以将故事分解到另一列。

以下是我的代码示例:

 <div class=' col-sm-12 col-xs-12'>  
     <?php get_template_part ('template-parts/content/content', 'image');?>
 </div>
 <article  class=' col-sm-6 col-xs-12'>  
     <?php get_template_part ('template-parts/content/content', 'pack');?>
 </article>
 <article class=' col-sm-6 col-xs-12'>  
 </article>                   

 <?php

提前感谢您的所有帮助和指导。

1 个答案:

答案 0 :(得分:0)

我不认为这个问题有一个纯粹的Bootstrap解决方案 - 但是,您可以使用纯CSS设计多列外观,如下所述:Authorization failed for user: (null)