background preloader

Augmente CSS, HTML5 & SVG

Facebook Twitter

LESS « The Dynamic Stylesheet language

Html5 cross browser polyfills - Modernizr - GitHub. The No-Nonsense Guide to HTML5 Fallbacks So here we're collecting all the shims, fallbacks, and polyfills in order to implant HTML5 functionality in browsers that don't natively support them. The general idea is that: We, as developers, should be able to develop with the HTML5 APIs, and scripts can create the methods and objects that should exist. Developing in this future-proof way means as users upgrade, your code doesn't have to change but users will move to the better, native experience cleanly. Looking to conditionally load these scripts (client-side), based on feature detects?

See Modernizr.Looking for a guide to write your own polyfills? Svgweb by Brad Neuberg & others Fallback via FlashSnap.SVG from scratch by the author of Raphaël (Dmitry Baranovskiy) Abstracted API. FakeSmile by David Leunen Canvas Web Storage (LocalStorage and SessionStorage) Non HTML5 API Solutions Sectioning Elements Video VTT: Video Timed Track (subtitles) Audio Audio Data API IndexedDB Web SQL Database Web Forms Beacon. Flexie - support for the CSS3 Flexible Box Model - GitHub. H5F - HTML5 Forms chapters new field input types, attributes and constraint validation API - GitHub. Webforms2 - Project Hosting on Google Code. Update, 7 November 2010: Moving to GitHub: Update, 3 June 2009: Now that the Web Forms 2.0 has been edited into HTML5, this project will seek to implement as much of the HTML5 Forms section as possible.

This will be a complete rewrite of the codebase. Restarting this project will commence as time permits. A cross-browser implementation of the WHATWG Web Forms 2.0 specification. This specification is currently a mature working draft and has been adopted by the W3C HTML Working Group to serve as a starting point for the next version of HTML. The implementation has been tested and should function in: Mozilla Firefox 1.0.8 Mozilla Firefox 1.5.0.9 Mozilla Firefox 2 Internet Explorer 6 Internet Explorer 7 Safari 2.0.4 Safari 3 (Windows) Opera 9 (native experimental implementation) Implemented Features Extensions to form control elements The form and select elements are extended with data attributes for fetching values and options from external resources.

Accessible, unobtrusive slider/HTML5 polyfill script demo. JPEGs with Alpha Channels?!? | jackadamblog. Posted on by Jack Turner I wanted a reasonably sized photographic image with a 24-bit alpha channel. So I used a JPEG for what JPEGs are good for and a PNG for what PNGs are good for... I combined them using an HTML5 canvas element and then inserted into the DOM. The results look the same as using a normal 24-bit PNG but are one-half to one-sixth the size. In one case we got a 573KB 24-bit PNG down to a 49KB JPEG with a 4KB PNG alpha-mask! On a recent project I did this using jQuery and scanning the CSS for background-images, but this could easily be achieved without any special CSS using valid HTML5 syntax by referring to a normal JPEG throug the src of an img element and adding a new data-alpha-src attribute with the URL of a 24-bit PNG that is just a mask.

This little demo works in the newest versions of Firefox, Chrome, and Safari (including Safari for iOS). Recently we’ve taken on two different projects that involve lots of large sprites being animated around landscapes. Fixed/floating table header with scrollable rows beneath : table, header, floating, fixed, javascript. Hello I was advised to post this under a different section. Original Qu is at : Basically, I want a table where the header row stays stationary while the data rows below scroll down the page. I currently have the following code that half works, but the column headers are not aligned with the rows below. Thanks for your help. here is the HTML so far :: <div class="tableContainer"><div class="innerframe"><table class=dialogbox width="100%" cellspacing="0" cellpadding="6" border="0"> <thead> <tr> <td width="70" class="hstextsm" bgcolor='#dddddd' style="border-left: 1px solid #FFFFFF; border-top: 1px solid #FFFFFF; border-right: 1px solid #808080;" > <B>Product ID</B> </td>

Modernizr. HTML5 Cross Browser Polyfills - GitHub. Gury - jQuery inspired canvas utility library - GitHub. HTML Timing using SMIL/Timesheets. The goal of this project is to rely on declarative W3C standards (namely, SMIL Timing and SMIL Timesheets) to synchronize HTML content. These demos rely purely on our Timesheet Scheduler: 100% declarative and standard-based, no specific JavaScript code is used. Ever wanted to… create your own slideshow in HTML?

Synchronize HTML content with multimedia streams? (subtitles, transcriptions, annotations…) animate HTML elements? …without writing any single line of JavaScript? It’s possible. It’s based on declarative W3C standards. It works with HTML, SVG and XML. Discover SMIL Timesheets with the following demos! Basic Markup a simple “Rotating Banner” example to introduce the basic concepts of SMIL time containers Media Annotations synchronizing HTML content with a multimedia stream: rich subtitles, audio annotations, segmented timeline Slideshow Engine nesting time containers and relying on declarative user interaction to create a highly flexible slideshow engine HTML Markup CSS Transitions.

Selectivizr - CSS3 pseudo-class and attribute selectors for IE 6-8. Sizzle JavaScript Selector Library.

Storage in Browser