README.md in bspin-0.2.1 vs README.md in bspin-1.0.0

- old
+ new

@@ -18,13 +18,22 @@ $ gem install bspin ## Usage -in your applicaion.css have: - *= require bspin +in your header have: + <style><%= styling -%></style> An example call is <div class='bspin'></div> + + Styling has several options: + type: "ball" | "circle1" | "circle1-fade" | "circle2" | "bubble1" | "bubble2" | "bar1" | "bar2" - default is "ball" + colour: any hex value or defined CSS colour value - default is black. + size: "small" | "medium" | "large" | "x-large" - default is medium. + speed: "slow" | "regular" | "fast" - default is regular. + + Example: <%= styling(type: "circle1", colour: "#000000", size: "large", speed: "regular") -%> + ## Development After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.