From f301d239c399ee4ee9c5656c5565ee2208294b14 Mon Sep 17 00:00:00 2001 From: wout Date: Wed, 26 Dec 2012 12:48:46 +0100 Subject: Fix in path --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index afb933b..4f48b6c 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,12 @@ This will generate the following output: ``` -If the svg canvas should follow the dimensions of its parent, in this case '#paper', you can use a percentage value: +If the svg canvas should follow the dimensions of its parent, in this case '#paper', you can also use a percentage value: ```javascript var draw = svg('paper').size('100%', '100%'); ``` +By default the width and height are set to 100% so you will not need it very often. + ## Elements @@ -362,6 +364,8 @@ SVG.extend(SVG.Doc, { ``` + + ## Building Starting out with the default distribution of svg.js is good. Although you might want to remove some modules to keep the size at minimum. -- cgit v1.2.3