【发布时间】:2020-01-19 08:12:53
【问题描述】:
我的要求是在桌面上压缩 HTML 表格,但在移动设备上倾斜。
为此,如果我可以在台式机/笔记本电脑上应用 Bootstrap 样式 table table-condensed,但在移动设备上它应该只有样式 table table-responsive。我需要将其应用于整个 Web 应用程序或 Web 应用程序中的某个页面;以可行者为准。
有效地,
在桌面上:
<table class='table table-condensed'></table>
在移动端
<table class='table table-responsive></table>
【问题讨论】:
标签: html bootstrap-4 responsive