From 815dd97207a199c65ae01bf4d3d2c569a1af5aee Mon Sep 17 00:00:00 2001 From: Jeffrey Lanters Date: Fri, 21 Apr 2017 15:37:44 +0200 Subject: [PATCH] Updated readme --- README.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 6f5164b..5a7b000 100644 --- a/README.md +++ b/README.md @@ -50,20 +50,17 @@ export class Menu extends Component { The player will be injected in the a component with the className "unity-container". To style to player use the following sass styling. To style the loader you can style the component with the className "unity-loader". See the example below. ```scss -/* Example styling */ -.unity-container { - canvas { - /* ... */ +.unity { + .unity-container { + canvas { + + } } -} -.unity-loader { - /* ... */ - .bar { - /* ... */ - .fill { - /* the width will be set - * by the component - ... */ + .unity-loader { + .bar { + .fill { + /* the width will be set by the component */ + } } } }