• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com专业计算机教程网站
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • html/xhtml
  • html5
  • CSS
  • XML/XSLT
  • Dreamweaver教程
  • Frontpage教程
  • 心得技巧
  • bootstrap
  • vue
  • AngularJS
  • HBuilder教程
  • css3
  • 浏览器兼容
  • div/css
  • 网页编辑器
  • axure
您的位置:首页 > 网页设计 >浏览器兼容 > css 透明度的设置兼容所有浏览器

css 透明度的设置兼容所有浏览器

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-06-02

本文主要包含css背景图片透明度,css透明度兼容,css rgb透明度,css透明度,css透明度代码等相关知识,佚名 希望在学习及工作中可以帮助到您

I wanted to pull this post out of the archives and update it a bit because it there seems to be a good amount of interest in this subject.

Here is what each of those CSS properties is for:

  • opacity: 0.5; This is the “most important” one because it is the current standard in CSS. This will work in most versions of Firefox, Safari, and Opera. This would be all you need if all browsers supported current standards. Which, of course, they don’t.
  • filter:alpha(opacity=50); This one you need for IE.
  • -moz-opacity:0.5; You need this one to support way old school versions of the Mozilla browsers like Netscape Navigator.
  • -khtml-opacity: 0.5; This is for way old versions of Safari (1.x) when the rendering engine it was using was still referred to as KTHML, as opposed to the current WebKit.

来源:http://css-tricks.com/css-transparency-settings-for-all-broswers/
 这个我就不想翻译了,很简单,我也只是为了做个记录。哈~~~

</div>

您可能想查找下面的文章:

  • css 透明度的设置兼容所有浏览器

相关文章

  • 2017-06-02避免不必要的浏览器兼容性问题的5个技巧
  • 2017-06-02Firefox Bug: inline/inline-block的间隙采用代码缩进可解决
  • 2017-06-02IE6 position:fixed bug (固定窗口方法)
  • 2017-06-02网页重构时在IE6中遇到png兼容性
  • 2017-06-02让IE 6,7,8模拟部分的css3属性
  • 2017-06-02Google Chrome浏览器无法显示hover样式的解决方法
  • 2017-06-02解决360双核浏览器兼容模式的页面显示问题
  • 2017-06-02CSS清除浮动 clearfix:after 使用技巧及兼容Firefox等符合W3C标准的浏览器
  • 2017-06-02解决IE6、IE7、Firefox兼容比较简单的CSS Hack
  • 2017-06-02css hack之清除浮动(clearfix)

文章分类

  • html/xhtml
  • html5
  • CSS
  • XML/XSLT
  • Dreamweaver教程
  • Frontpage教程
  • 心得技巧
  • bootstrap
  • vue
  • AngularJS
  • HBuilder教程
  • css3
  • 浏览器兼容
  • div/css
  • 网页编辑器
  • axure

最近更新的内容

    • IE6 bug修正的10个小技巧 推荐
    • CSS常用浏览器兼容调整小结
    • css padding属性兼容ie6,ie8,firefox实例详解
    • IE和FF在对js支持的不同(整理)及解决方法
    • css 解决浏览器兼容问题
    • CSS Hack 区分 IE6 / IE7 /IE8 /Firefox
    • IE下css常见问题总结及解决
    • ie兼容性测试不用IE Test依然可以办到
    • IE中css样式设置height无效的解决方法
    • CSS实现 Firefox 和 IE 都支持的半透明效果

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有