博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ie-css3.htc 可以让IE低版本浏览器支持CSS3 的一个小工具
阅读量:7171 次
发布时间:2019-06-29

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

ie-css3.htc先说道说道这斯是弄啥嘞ie-css3.htc是一个可以让IE浏览器支持部份CSS3属性的htc文件,不只是box-shadow,它还可以让你的IE浏览器支持圆角属性border-radius和文字阴影属性text-shadow 复制保存下面的代码并命名为ie-css.htc,放在你认为比较好的位置中去,然后在CSS中调用,就像使用背景图片那样,只要能找得到他就可以了。/***************以下内容为 ie css3.htc 内容****************/--Do not remove this if you are using--Original Author: Remiz RahnasOriginal Author URL: http://www.htmlremix.comPublished date: 2008/09/24Changes by Nick Fetchak:- IE8 standards mode compatibility- VML elements now positioned behind original box rather than inside of it - should be less prone to breakage- Added partial support for 'box-shadow' style- Checks for VML support before doing anything- Updates VML element size and position via timer and also via window resize event- lots of other small thingsPublished date : 2010/03/14http://fetchak.com/ie-css3Thanks to TheBrightLines.com (http://www.thebrightlines.com/2009/12/03/using-ies-filter-in-a-cross-browser-way) for enlightening me about the DropShadow filter
使用方法.box {
-moz-border-radius: 15px; /* Firefox */ -webkit-border-radius: 15px; /* Safari 和 Chrome */ border-radius: 15px; /* Opera 10.5+, 以及使用了IE-CSS3的IE浏览器 */ -moz-box-shadow: 10px 10px 20px #000; /* Firefox */ -webkit-box-shadow: 10px 10px 20px #000; /* Safari 和 Chrome */ box-shadow: 10px 10px 20px #000; /* Opera 10.5+, 以及使用了IE-CSS3的IE浏览器 */ behavior: url(ie-css3.htc); /* 通知IE浏览器调用脚本作用于'box'类 */}

 

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

你可能感兴趣的文章
MVC和WebApi 使用get和post 传递参数。
查看>>
无限拓展热区域缓存服务方案
查看>>
对于别人的议论看淡点
查看>>
LeetCode Notes_#92 Reverse Linked List II(C++,Python)
查看>>
Unsafe类的使用
查看>>
与http协作的web服务器--代理、网关、隧道
查看>>
插入排序
查看>>
Beta阶段——Scrum 冲刺博客第四天
查看>>
南阳88--汉诺塔(一)
查看>>
南阳oj1100--WAJUEJI which home strong!(Bfs)
查看>>
SQL执行顺序
查看>>
谷歌浏览器保存网页为pdf和.mhtml文件
查看>>
统一异常处理
查看>>
element ui
查看>>
关于苹果IPhone/Ipad(IOS)开发者证书申请及安装、真机调试、发布的参考文章
查看>>
[MongoDB]Profiling性能分析
查看>>
Ue4如何在C++中获得获得当前角色的指针?
查看>>
778. Swim in Rising Water
查看>>
Django的ManyToManyField(多对多)中的through的作用
查看>>
女浴室起火 (转贴)849087521-180, 803205971-446
查看>>