css:
复制代码代码如下:
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* demo */
.demo{width:800px;margin:0 auto;}
.demo div{margin:40px 0 0 0;}
html:
复制代码代码如下:
<div class="demo">
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=2&num=5"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=7"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=9"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=11"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=13"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=19"></div>
</div>
部分效果:
我在项目中做了一个下面的效果
复制代码代码如下:
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
/* demo */
.demo{width:800px;margin:0 auto;}
.demo div{margin:40px 0 0 0;}
html:
复制代码代码如下:
<div class="demo">
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=2&num=5"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=7"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=9"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=11"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=13"></div>
<div>
<iframe name="weather_inc" src="/UploadFiles/2021-03-30/index.php?c=code&id=19"></div>
</div>
部分效果:
我在项目中做了一个下面的效果