我被难住了。这几乎就是我想要的,但还不完全是。以下是当前布局,但需要修复:
这是 bootstrap5 的 html:
<div class="container">
<div class="row">
<!-- New Top Section (12 columns wide) -->
<div class="col-12 order-1">
<div class="top-section p-3 border">
<h3>Top Section</h3>
<p>Content for the top section goes here.</p>
</div>
</div>
</div>
<div class="row">
<!-- Weather Table -->
<div class="col-12 col-lg-9 order-2">
<div class="table-container p-3 border">
<h3>Weather Table</h3>
<p>Content for the weather table goes here.</p>
</div>
</div>
<!-- Location Map -->
<div class="col-12 col-lg-3 order-4 order-lg-3 d-flex flex-column">
<div id="map" class="p-3 border" style="width: 100%; height: 100%; background-color: #eaeaea;">
<h3>Location Map</h3>
<p>Content for the location map goes here.</p>
</div>
</div>
<!-- Elevation -->
<div class="col-12 col-lg-9 order-3">
<div class="elevation-container p-3 border">
<h3>Elevation</h3>
<p>Content for the elevation section goes here.</p>
</div>
</div>
</div>
</div>
我需要的是当位置图垂直增长时,海拔部分不会像现在这样向下移动。我搞不懂。