【发布时间】:2021-12-13 08:16:40
【问题描述】:
我想从谷歌地图调整 div 的大小,但我的 html 文件中没有代码,我在这段代码中使用了地图,我没有代码了
<iframe class="map-content"
src="https://maps.google.com/maps?q={{json_decode($project->location,true)['lat']}},{{json_decode($project->location,true)['long']}}&output=embed">
</iframe>
【问题讨论】:
-
看起来有名为 place-card 和 place-card-large 的类。你可以尝试编写一些 CSS 来覆盖它们,如果它们在当前定义中包含大小说明(你的浏览器的元素检查器可以告诉你)
-
@ADyson 我尝试使用这些类更改大小,但没有成功
-
@ADyson 好的,我明白了,谢谢
标签: javascript html css