IE compatible with CSS3 fillet Border-radius (also compatible with Box-shadow,text-shadow)

Source: Internet
Author: User

1. Download IE-CSS3.HTC

2.CSS

box {  -moz-border-radius:15px;/* Firefox *  /-webkit-border-radius:15px;/* Safari and Chrome */  Border-radiu s:15px;  /* Opera 10.5+, as well as using IE-CSS3 's IE browser */  -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+, and IE browser using IE-CSS3 *  /Behavior:url (IE-CSS3 . HTC); /* Notify IE Browser invoke script to act on ' box ' class */}

3. Question:

One, can only at the same time 4 corner fillet, can not be set alone;

Second, the DIV can be used normally, Test text box, there will be an exception;

Third, the CSS file and the page in the same directory, otherwise invalid

Four, the current element must have a positional attribute, such as position:relative or Position:absolute property

Five, Z-index value must be higher than the surrounding elements

4. Supported Styles and status descriptions

See the table below:

style effective Invalid
Border-radius Set fillet properties for element Four Corners
Element border
Just set a corner of the fillet property
Box-shadow Blur size parameter
Offset value
Colors other than black (#000) are not supported
Text-shadow Blur size parameter
Offset value
Color values
The performance of IE and firefox/safari/chrome have a little difference, the reason is unknown

IE compatible with CSS3 fillet Border-radius (also compatible with Box-shadow,text-shadow)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.