Giter Site home page Giter Site logo

svgboilerplate's Introduction

WARNING:

This is a very early, alpha, untested version. It has all sorts of horrible flaws and will probably catch fire if you pet it wrong. Don't feed the elements.

This is work in progress, it probably doesn't do all that it says on the tin. It hasn't been tested with all the relevant platforms.

License:

External components:

  • Modernizr: MIT/BSD license
  • SVG Web: Apache License, Version 2.0
  • FakeSMIL: MIT

Everything else:

Many thanks to the HTML5 Boilerplate http://html5boilerplate.com!

Summary:

This is a set of files based on the same principle as the HTML5 Boilerplate, intended to help developers bootstrap an SVG-using HTML5 document with the following tricks:

  1. Cross-browser compatible, down to IE6
  2. SVG working in HTML even where HTML5 parsing isn't supported (with minimal caveats)
  3. SMIL support everywhere
  4. Server-side configuration of the proper media types in case they aren't already there
  5. Should be easy enough to include into the HTML5 Boilerplate if you're already using that

Tools:

You may wonder why there is a tools directory, and having looked into it scream that it contains some Java. The reason for this is that in cases where SVG Web emulation kicks in, it will have trouble accessing content from file:// โ€” you have to use it from a web server. In the unlikely case that you don't have one handy, fire up the one in tools, as explained in the SVG Web documentation.

svgboilerplate's People

Contributors

darobin avatar

Stargazers

Anthony avatar

Watchers

Anthony avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.