Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/71.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 使用flexbox的响应表_Html_Css_Twitter Bootstrap_Flexbox - Fatal编程技术网

Html 使用flexbox的响应表

Html 使用flexbox的响应表,html,css,twitter-bootstrap,flexbox,Html,Css,Twitter Bootstrap,Flexbox,我正在设计一个有表格的页面。在响应屏幕中,我希望表格能够水平滚动,所以我使用了引导。表格响应类。由于flex应用于其部分,因此table responsive不起作用 我的代码如下: <header class="page-header"></header> <section class="page-content"> <div class="container"> //Table Style here <div>

我正在设计一个有表格的页面。在响应屏幕中,我希望表格能够水平滚动,所以我使用了引导
。表格响应
类。由于flex应用于其部分,因此table responsive不起作用

我的代码如下:

<header class="page-header"></header>
<section class="page-content">
   <div class="container">
      //Table Style here
   <div>
</section>
<footer class="page-footer"></footer>
当我移除display flex时,它可以正常工作。
我该怎么做才能克服这个问题呢?

我只是通过添加

display:block;
在媒体中查询页面内容。

这是您想要的吗?(
边框
最小宽度
只是为了容易看到预期的行为)
display:block;