Taras Lukavyi
Taras Lukavyi

Reputation: 1369

javascript library for css3 in old browsers

Can you link me some javascript libraries, that can give me full support html5 and css3 on all browsers?
That library must get that support without any css file changing.(e.g. i made some gradients and shadows on page, and i dont want to rewrite them to be fully supported by that library)

Upvotes: 0

Views: 2348

Answers (2)

Rich Bradshaw
Rich Bradshaw

Reputation: 73045

What you want is CSS3PIE. You do need to make some minimal changes, but it's definitely the best way to go.

For border-radius and box-shadow you just need to add a line adding a behaviour, for gradients it's a little more.

You might find that you need to add position:relative; to elements to get the grad or shadow to show up.

Upvotes: 1

Marko Dumic
Marko Dumic

Reputation: 9888

You probably don't need everything. This list will help you pick the features you realy do need: http://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills

Update: Gradients and shadows in older Internet Explorers are easily handled by CSS3 PIE library.

Upvotes: 1

Related Questions