如何设置网页的背景为透明


可以把iframe中的网页的背景设置为透明
1、a.htm
<iframe src="b.htm" allowtransparency="true"></iframe>


2、b.htm
body {
background-color: transparent;
}
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3