jxl123456

div跟随浏览器大小而改变

<head>   
 <style>
        .main {
            position: absolute;
            left: 0px;
            right: 0px;
            top: 0px;
            bottom: 0px;
            overflow: auto;
        }

        #bimViewer {
            height: 800px;
            width: 100%;
        }
    </style>
</head>
<button id="AddCamera">新增视点</button>
<html>
<body>
    <div class=\'main\'>
        <div id="bimViewer" data-id="@Model.Id" data-url="@Model.Url" data-token="@Model.Token" data-online="@Model.IsOnline"></div>
    </div>
</body>

分类:

技术点:

相关文章:

  • 2021-12-03
  • 2021-09-14
  • 2021-11-19
  • 2021-04-30
  • 2021-10-19
  • 2021-12-28
  • 2021-11-18
  • 2021-06-29
猜你喜欢
  • 2021-06-26
  • 2021-12-23
  • 2021-07-08
  • 2021-10-06
  • 2021-11-28
  • 2021-12-23
  • 2021-11-17
相关资源
相似解决方案