0
私はCSSに新しいので、応答性の高い埋め込みGoogleマップを作成するためにこのコードをコピーしましたが、ページの下部に「max-height "以前はなかった財産。埋め込まれたGoogleマップの一番下の空白
/* Flexible iFrame (for google maps)*/
.Flexible-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.Flexible-container iframe,
.Flexible-container object,
.Flexible-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-height: 500px;
}
ありがとうございます。実際には値を小さくしていますが、完全に削除すると非常に小さいマップが表示されるためです。 – shayDavid
容器に幅を与える –