針對HTML的iframe框架去除Bottom白邊

參考資料:

以下例子直接舉例

在<style>標籤中,我們針對margin, padding, border做以下的處理、iframe的部份視個人需求進行調整。

<style>
html, body {
margin: 0px;
padding: 0px;
border: 0px;
}
iframe {
margin: 0px;
padding: 0px;
border: 0px;
display: block;
}
</style>

Written by

Machine Learning / Deep Learning / Python / Flutter cakeresume.com/yanwei-liu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store