To achieve the div rounded corner effect, are you still using the old background image to piece together? Or is the CSS method incompatible with various browsers used? If you are still using this method to achieve the rounded corner, I will tell you that you are out. Maybe I am out, and I have not found such a powerful jquery rounded corner plug-in before, now that I have discovered it today, I have to share it with you. For Development, first share, less nonsense, post code :-)
This plug-in has a feature that if your browser supports the border-radius rounded corner attribute (Opera 10.5 +, Firefox, Safari, and Chrome), it will not generate redundant Divs, directly apply the border-radius attribute. Otherwise, the div is generated to construct the rounded corner. This saves a lot of unnecessary trouble.
The plug-in Project address is: http://www.malsup.com/jquery/corner/
1. multiple types of rounded corners:
The plug-in provides many types of rounded corners for you to choose from. You can construct different personalized rounded corners based on your needs. The following is a preview, and there are many other types. Go to the homepage to see them.
2. Each corner can be controlled to implement different types of rounded corners.
You can specify any corner to apply the rounded corner style and use top, bottom, left, right, tl, tr, bl, and br to control it. The following code and
3. You can easily adjust the rounded corner.
4. Various types of rounded corners can be mixed in the same div
For more information, see the project homepage. Http://www.malsup.com/jquery/corner/