我想使用两个DIV并排显示。第一个DIV具有响应式宽度和内置的谷歌地图...第二个DIV具有固定宽度。
HTML
<div class="wrapper">
<div id="map"></div>
<div class="right"></div>
</div>
CSS
.wrapper{
width: 90%;
margin: 0px auto;
}
#map {
height: 300px;
}
.right {
background: orange;
width: 250px;
float: right;
height: 300px;
}