博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
iframe透明属性使用
阅读量:2347 次
发布时间:2019-05-10

本文共 359 字,大约阅读时间需要 1 分钟。

iframe透明属性为:allowtransparency

当allowtransparency为true时iframe里的颜色跟父文档的颜色相同

 

注意:iframe里的文档的body style为:background-color:transparent

 Internet Explorer 5.5 以上版本允许你设置透明属性,通过设置是否可被透明,你可以改变背景的颜色

 

<iframe src="target.html" allowtransparency="true"  frameborder="0" width="480" height="400" scrolling="no"></iframe>

 

target.html文档的body style应该为background-color:transparent

转载地址:http://vcvvb.baihongyu.com/

你可能感兴趣的文章
安装Google Object Detection API
查看>>
测试TensorFlow Object Detection API
查看>>
现代c++之移动构造, 移动赋值, 拷贝构造, 拷贝赋值
查看>>
计算机视觉实时目标检测 TensorFlow Object Detection API
查看>>
TensorFlow MobileNet
查看>>
MultiModel:跨领域多任务机器学习
查看>>
容器生态全景图
查看>>
OracleDB 12cR2 架构 (强烈推荐)
查看>>
Storm 1.1.0 集群安装
查看>>
图像压缩算法
查看>>
一张图看懂小程序全生态
查看>>
electron开发
查看>>
NodeJS开发c++扩展模块
查看>>
Electron如何调用NodeJS扩展模块
查看>>
Electron使用NodeJS扩展模块调用DLL
查看>>
NodeJS通过ffi调用DLL
查看>>
Hyperledger Fabric 1.0发布:基于区块链的开源分布式账本
查看>>
Electron通过ffi调用DLL
查看>>
Node.js & Electron的扩展模块
查看>>
Mysql semi-sync VS group replication, 谁快?
查看>>