Get the App
SLTechnology News&Howtos  ›  Development  › 

What small script HTC file patch makes IE6, 7 and 8 support CSS3

Shulou Source: shulou.com Published: 2022-06-03 14:15:11 10月01日 Update

What small script HTC file patch makes IE6, 7 and 8 support CSS3? for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Let IE6, 7 and 8 support CSS3

IE6,7 does not support the properties of CSS3, and IE8 does not support CSS3 very well. But there is a small script that can do this, it can make IE support CSS3, including: border-radius (rounded), box-shadow (shadow), text-shadow, etc.

If you need a box content that supports CSS3, you need to add a line of code:

Behavior: url (ie-css3.htc)

The code is as follows:

.box {- moz-border-radius: 15px; / * Firefox * /-webkit-border-radius: 15px; / * Safari and Chrome * / border-radius: 15px; / * Opera 10.5mm, future browsers, and now also Internet Explorer 6 + using IE-CSS3 * /-moz-box-shadow: 10px 10px 20px # 000; / * Firefox * /-webkit-box-shadow: 10px 10px 20px # 000; / * Safari and Chrome * / box-shadow: 10px 10px 20px # 000 / * Opera 10.5 box' class, future browsers and IE6+ using IE-CSS3 * / behavior: url (ie-css3.htc); / * This lets IE know to call the script on all elements which get the 'box' class * /}

Download address of ie-css3.htc:

Http://ishare.iask.sina.com.cn/f/35036423.html

This is the answer to the question about what small script HTC file patch makes IE6, 7 and 8 support CSS3. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Tags: Support questions files scripts patches code more help answers easy easy line content address guys partners feet properties methods knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn NVidia MariaDB Huawei Microsoft