Now that Firefox 3.5 is out, I think that Adobe Flash is facing a serious threat. Of course that nothing big will happen in the next few months, but I dare to go as far as saying that HTML 5 will find its way up and grab a serious slice of the market share Flash currently has, at least in the long run. Why am I saying this? First, check Burst Engine, and then take a look at today’s topic…
… namely Modernizr, a JavaScript library that will detect the features of the browsers used by those visiting your site and decide if it can handle CSS3 and HTML5 features. Hint: use Firefox 3.5 or Safari 4, they both rock, but I am not ashamed with Google Chrome, either!
The initial public release of this script is labeled 0.9, and features detection for a lot of features, including Canvas, rgba(), Multiple backgrounds, CSS Animations, CSS Reflections, or CSS Transitions. Once you get started with it, you can easily write pseudo-IF/ELSE CSS statements with the help of a “Modernizr JavaScript object,” as well as use elements like