viewBox="0 0 744 476"
(744 and 476 refers to the width and height of the image I'm using).
After all that I still had some problems:
- I have trouble thinking of an actual application where I would want to use this technique
- Myweb host is having some sort of problem with .svg files (probably the same problem they had with .docx and the other "new" Office file extensions).
- Unsurprisingly, SVG backgrounds are not supported in IE8 on Win 7.
First, the Tanzanian flag with variable aspect ratio
Second, the Monte Carlo GP Circuit with aspect ratio locked
preserveAspectRatio="none"
So... here's a video of Chrome displaying the Tanzanian background, just in case you're running a browser that's not ready for this high tech stuff:
post script: This is the first time I ever uploaded a video to YouTube!
nice stuff
ReplyDelete