tedd
V2EX  ›  问与答

有没有什么方案可实现 HTML 表格列数根据屏幕尺寸大小可变?

  •  
  •   tedd · Oct 10, 2014 · 3089 views
  •   You need to sign in to view this topic
    This topic created in 4418 days ago, the information mentioned may be changed or developed.
    我用的是bootstrap,想实现的效果是,如果是桌面访问,表格显示12列数据,如果是手机访问,则只显示前两列数据,后面的10列自动隐藏,不知道有办法吗?
    3 replies  •  2014-10-10 22:05:04 +08:00
    fyhqy
    fyhqy
    Oct 10, 2014❤️1
    1
    bootstrap 不就可以实现?
    col-12
    col-5
    tedd
    tedd
    OP
    Oct 10, 2014
    2
    找到解决方案了哈,谢谢ls的
    boro
    boro
    Oct 10, 2014❤️1
    3
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1962 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 02:11 · PVG 10:11 · LAX 18:11 · JFK 21:11
    ♥ Do have faith in what you're doing.