【问题标题】:Site scaling to browser window size站点缩放到浏览器窗口大小
【发布时间】:2017-10-31 07:14:33
【问题描述】:

我尝试制作响应式网站以缩放浏览器窗口大小。我不知道为什么它不起作用,我不想要这个滚动条。

JSFiddle

        html 
        {
          font: normal normal 12px/1 Calibri;    
          font-weight: bold;
          color:#666;
        }   
        body
        {

            background-color:#f1f1f1;
            margin-left: 0px;
            margin-right: 0px;
            margin-top: 0px;
            margin-bottom: 0px;
        }
        .box
        {
            padding:20px;
            background-color:#fff;
            border:1px solid #ccc;
            border-radius:5px;
   }

【问题讨论】:

  • 你的问题很不清楚。请详细说明您现在得到的结果以及您期望的结果
  • 出了什么问题
  • 你不需要滚动条。但你想要什么?例如,表列不像引导列那样工作。当窗口调整大小时,一个接一个地去。您需要为此更改表格元素的默认行为。你能更具体地说明你想要什么吗?不是你不想要的

标签: jquery css responsive-design


【解决方案1】:

请转至this

通过将 .table-responsive 添加到任何 .table 以使它们在小型设备(768 像素以下)上水平滚动来创建响应式表格。在任何大于 768 像素宽的东西上查看时

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-11-14
    • 1970-01-01
    • 2013-09-02
    • 1970-01-01
    • 2017-11-05
    • 2016-03-07
    • 2012-01-30
    相关资源
    最近更新 更多