diff options
author | wout <wout@impinc.co.uk> | 2012-12-23 12:31:19 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-23 12:31:19 +0100 |
commit | 9231e02fe876e3faa9c13a879223426284a7a921 (patch) | |
tree | b44425f4935da436640e9234cbb351dbe322d65a /README.md | |
parent | 1ae730fec364f70d4541f38930929607dc2a31ac (diff) | |
download | svg.js-9231e02fe876e3faa9c13a879223426284a7a921.tar.gz svg.js-9231e02fe876e3faa9c13a879223426284a7a921.zip |
Fine-tuned safari bug fix
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ This will generate the following output: </svg> </div> ``` +If the svg canvas should follow the dimensions of its parent, in this case '#paper', you can use a percentage value: +```javascript +var draw = svg('paper').size('100%', '100%'); +``` ## Elements |